[GEM-dev] GEMglBitmap.cpp / glBindProgramARB compilation error
patrick
puredata at 11h11.com
Mon Feb 7 03:47:16 CET 2005
hi all,
can someone fix the file GemBase.h in the cvs:
// I hate Microsoft...I shouldn't have to do this!
#ifdef _WINDOWS
#include <windows.h>
#endif
#include "config.h"
#include "Base/CPPExtern.h"
#include "Base/GemState.h"
#ifdef __APPLE__
# include <OpenGL/gl.h>
# include <OpenGL/glext.h>
#else
# include "config.h"
# define GL_GLEXT_LEGACY
# include <GL/gl.h>
# if defined INCLUDE_GLEXT || defined __linux__
// stupid hack, as nvidia has erroneous glext-headers!
# define boolean GLboolean
# define GL_GLEXT_PROTOTYPES 1
# include <GL/glext.h>
# endif /* GLEXT */
#endif // __APPLE__
i don't have anymore the problem on linux with glBindProgramARB().
thanks to james and IOhannes!
patrick
More information about the GEM-dev
mailing list