Removed SDL_HINT_RENDER_OPENGL_SHADERS
Shaders are always used if they are available.
This commit is contained in:
parent
9920e062d5
commit
7cb1ca60ec
4 changed files with 2 additions and 16 deletions
|
@ -1837,9 +1837,7 @@ static SDL_Renderer *GL_CreateRenderer(SDL_Window *window, SDL_PropertiesID crea
|
|||
}
|
||||
|
||||
/* Check for shader support */
|
||||
if (SDL_GetHintBoolean(SDL_HINT_RENDER_OPENGL_SHADERS, SDL_TRUE)) {
|
||||
data->shaders = GL_CreateShaderContext();
|
||||
}
|
||||
data->shaders = GL_CreateShaderContext();
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_RENDER, "OpenGL shaders: %s",
|
||||
data->shaders ? "ENABLED" : "DISABLED");
|
||||
#if SDL_HAVE_YUV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue