From Brad Christiansen, fix function entry points under Windows to address crash

This commit is contained in:
Robert Osfield
2010-10-14 11:10:16 +00:00
parent 82c01cb72e
commit 8640929a2e
2 changed files with 13 additions and 14 deletions

View File

@@ -37,9 +37,8 @@
// #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
#define GLAPIENTRY GL_APIENTRY
#include <setjmp.h>
#include "mesh.h"