mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tests/glheaders: use #if for platform selection
GST_GL_HAVE_* are always defined to 0 or 1 so an #ifdef will always succeed which is not the intention here.
This commit is contained in:
parent
c117460420
commit
9e563a20c2
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
|||
#include <gst/gl/egl/gstglmemoryegl.h>
|
||||
#endif
|
||||
|
||||
#ifdef GST_GL_HAVE_PLATFORM_GLX
|
||||
#if GST_GL_HAVE_PLATFORM_GLX
|
||||
#include <gst/gl/x11/gstgldisplay_x11.h>
|
||||
#include <gst/gl/x11/gstglwindow_x11.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue