Added #define GLAPIENTRY to attempt to resolve some Windows build issues

This commit is contained in:
Robert Osfield
2010-10-06 17:19:01 +00:00
parent 29bc5995e7
commit ca4802142d
2 changed files with 8 additions and 0 deletions

View File

@@ -38,11 +38,15 @@
// #include <GL/glu.h>
#include <osg/GLU>
// simply define GLAPIENTRY as nothing so that we can keep function signatures the same as declaration.
#define GLAPIENTRY
#include <setjmp.h>
#include "mesh.h"
#include "dict.h"
#include "priorityq.h"
/* The begin/end calls must be properly nested. We keep track of
* the current state to enforce the ordering.
*/

View File

@@ -30,6 +30,10 @@
#include <osg/GLU>
#include <osg/Image>
#include <osg/Texture3D>
// simply define GLAPIENTRY as nothing so that we can keep function signatures the same as declaration.
#define GLAPIENTRY
// #include "gluos.h"
// #include <GL/glu.h>