mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
gl: remove useless gl{En,Dis}able (GL_TEXTURE_*) calls
We are using shaders everywhere and so they are not needed
This commit is contained in:
parent
930742dd5a
commit
7e5123cd90
2 changed files with 0 additions and 4 deletions
|
@ -242,7 +242,6 @@ gst_gl_mosaic_callback (gpointer stuff)
|
|||
|
||||
gst_gl_context_clear_shader (GST_GL_BASE_MIXER (mixer)->context);
|
||||
gl->BindTexture (GL_TEXTURE_2D, 0);
|
||||
gl->Disable (GL_TEXTURE_2D);
|
||||
|
||||
gl->Enable (GL_DEPTH_TEST);
|
||||
|
||||
|
|
|
@ -911,9 +911,6 @@ gst_gl_video_mixer_callback (gpointer stuff)
|
|||
|
||||
gst_gl_context_clear_shader (GST_GL_BASE_MIXER (mixer)->context);
|
||||
gl->BindTexture (GL_TEXTURE_2D, 0);
|
||||
if (gst_gl_context_get_gl_api (GST_GL_BASE_MIXER (mixer)->context) &
|
||||
GST_GL_API_OPENGL)
|
||||
gl->Disable (GL_TEXTURE_2D);
|
||||
|
||||
gl->Disable (GL_DEPTH_TEST);
|
||||
gl->Disable (GL_CULL_FACE);
|
||||
|
|
Loading…
Reference in a new issue