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
@ -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…
x
Reference in New Issue
Block a user