[369/906] define missing glew macro on older versions

This commit is contained in:
Julien Isorce 2009-08-03 17:52:31 +02:00 committed by Matthew Waters
parent 3107266d81
commit d9c055246f

View file

@ -27,6 +27,14 @@
#include <gst/video/gstvideosink.h>
#include "gstgldisplay.h"
#ifndef GLEW_VERSION_MAJOR
#define GLEW_VERSION_MAJOR 4
#endif
#ifndef GLEW_VERSION_MINOR
#define GLEW_VERSION_MINOR 0
#endif
/*
* gst-launch-0.10 --gst-debug=gldisplay:N pipeline
* N=1: errors