mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 07:58:30 +00:00
Removed SDL_HINT_RENDER_OPENGL_SHADERS
Shaders are always used if they are available.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user