aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.cpp')
-rw-r--r--backends/graphics/opengl/opengl-graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp
index 6d693a3a27..eb9eed170c 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -908,14 +908,14 @@ void OpenGLGraphicsManager::notifyContextCreate(const Graphics::PixelFormat &def
if (g_context.type == kContextGLES2) {
#endif
#if !USE_FORCED_GL
- _shader = new ShaderGLES2(g_defaultVertexShader, g_defaultFragmentShaderGLES2);
+ _shader = new Shader(g_defaultVertexShader, g_defaultFragmentShaderGLES2);
#endif
#if !USE_FORCED_GL && !USE_FORCED_GLES2
} else {
#endif
#if !USE_FORCED_GLES2
if (g_context.shadersSupported) {
- _shader = new ShaderARB(g_defaultVertexShader, g_defaultFragmentShaderGL);
+ _shader = new Shader(g_defaultVertexShader, g_defaultFragmentShaderGL);
}
#endif
#if !USE_FORCED_GL && !USE_FORCED_GLES2