mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
cheese OpenGL ES hack
This commit is contained in:
parent
134e9a9e92
commit
1353827116
@ -41,6 +41,14 @@
|
|||||||
class PlaneNode;
|
class PlaneNode;
|
||||||
class Light;
|
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
|
// 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
|
// 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
|
// system GL version matches or exceeds the GL version in which these
|
||||||
|
Loading…
x
Reference in New Issue
Block a user