Menu

#153 OpenGL fix for windows

open
nobody
None
5
2012-03-12
2012-03-12
Transporter
No

The includes in file /fx/include/cfxWin.h needs to be updated:

#ifdef WIN32
#include <windows.h>
#endif
#include <gl/gl.h>
#if defined(__APPLE__) || defined(MACOSX)
#include <GLUT/glut.h>
#elif defined(WIN32)
#include <GL/glut.h>
#ifndef GL_CLAMP_TO_EDGE
#define GL_CLAMP_TO_EDGE 0x812F
#endif
#else
#include <GL/glut.h>
#include <GL/glext.h>
#include <GL/glx.h>
#endif
#include <Cg/cg.h>
#include <Cg/cgGL.h>
#include <assert.h>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB