test/testgl.c
changeset 214 0e5d6dd77bda
parent 0 74212992fb08
child 221 50620ec9c86a
equal deleted inserted replaced
213:c79890792bfb 214:0e5d6dd77bda
     4 #include <math.h>
     4 #include <math.h>
     5 
     5 
     6 #include "SDL.h"
     6 #include "SDL.h"
     7 
     7 
     8 #ifdef HAVE_OPENGL
     8 #ifdef HAVE_OPENGL
     9 #ifdef WIN32
     9 #include "SDL_opengl.h"
    10 #include <windows.h>
       
    11 #endif
       
    12 #if defined(__APPLE__) && defined(__MACH__)
       
    13 #include <OpenGL/gl.h>
       
    14 #else
       
    15 #include <GL/gl.h>
       
    16 #endif
    10 #endif
    17 
    11 
    18 #define SHADED_CUBE
    12 #define SHADED_CUBE
    19 
    13 
    20 
    14