mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
gsk: Stop supporting gl shaders
The GL shader code uses the GL renderer for compilation, and that renderer is going away.
This commit is contained in:
parent
1624455a32
commit
9b2b5ebb65
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user