Commit 9e563a20 authored by Matthew Waters's avatar Matthew Waters
Browse files

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.
parent c1174604
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment