cheese OpenGL ES hack

This commit is contained in:
David Rose 2011-10-11 00:57:43 +00:00
parent 134e9a9e92
commit 1353827116

View File

@ -41,6 +41,14 @@
class PlaneNode;
class Light;
#ifdef OPENGLES
// This is a cheesy hack to allow the following typedefs to compile
// for OpenGL ES. We won't actually be calling any of the "double"
// functions in this case (and they don't exist anyway), but we need
// to be able to get past their declarations.
typedef double GLdouble;
#endif // OPENGLES
// These typedefs are declared in glext.h, but we must repeat them
// here, mainly because they will not be included from glext.h if the
// system GL version matches or exceeds the GL version in which these