diff --git a/gsk/gskglshader.c b/gsk/gskglshader.c index 35fef22485..453f11dfd8 100644 --- a/gsk/gskglshader.c +++ b/gsk/gskglshader.c @@ -148,8 +148,6 @@ #include "gskglshaderprivate.h" #include "gskdebugprivate.h" -#include "gl/gskglrendererprivate.h" - G_GNUC_BEGIN_IGNORE_DEPRECATIONS static GskGLUniformType @@ -562,9 +560,6 @@ gsk_gl_shader_compile (GskGLShader *shader, { g_return_val_if_fail (GSK_IS_GL_SHADER (shader), FALSE); - if (GSK_IS_GL_RENDERER (renderer)) - return gsk_gl_renderer_try_compile_gl_shader (GSK_GL_RENDERER (renderer), shader, error); - g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, "The renderer does not support gl shaders"); return FALSE;