examples: gl: generic: recordgraphic: Use gst/gl/gstglfuncs.h
authorJustin Kim <jeongseok.kim@sk.com>
Fri, 14 Dec 2018 03:03:07 +0000 (12:03 +0900)
committerJustin Kim <jeongseok.kim@sk.com>
Fri, 14 Dec 2018 03:04:17 +0000 (12:04 +0900)
https://gitlab.freedesktop.org/gstreamer/gst-build/issues/11

tests/examples/gl/generic/recordgraphic/main.cpp

index ebb4cde..c7436d4 100644 (file)
 # include <windows.h>
 #endif
 
-#include <GL/gl.h>
-#if defined(__WIN32__) || defined(_WIN32)
-# include <GL/glext.h>
-#endif
+#include <gst/gl/gstglfuncs.h>
 #include <gst/gst.h>
 #include <gst/video/video.h>