Changed Fixed some apple stuff glGenTextures is still generating a bus error because we don't have a gl context yet.

This commit is contained in:
2006-06-18 21:42:51 -04:00
parent 9c87107dab
commit d70d3ac4b6
12 changed files with 259 additions and 51 deletions

View File

@@ -14,8 +14,8 @@
#include <GL/glu.h> // Header file for Glu32 library
#endif
#ifdef __APPLE__
#include <gl.h> // Header file for OpenGL32 library
#include <glu.h> // Header file for Glu32 library
#include <GL/gl.h> // Header file for OpenGL32 library
#include <GL/glu.h> // Header file for Glu32 library
#endif
#include <math.h>
@@ -28,6 +28,7 @@
#include "window.h"
#include "vector.h"
#pragma warning(disable: 4786)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Variables