Sfoglia il codice sorgente

* Fixed glutCheckLoop headers, testing only under MacOSX

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 19 anni fa
parent
commit
8a340a8676
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. +5
    -2
      caca/driver_gl.c

+ 5
- 2
caca/driver_gl.c Vedi File

@@ -21,11 +21,14 @@


#if defined(USE_GL) #if defined(USE_GL)


#ifndef USE_GLUTCHECKLOOP
#include <GL/gl.h> #include <GL/gl.h>
#include <GL/glut.h> #include <GL/glut.h>
#include <GL/freeglut_ext.h> #include <GL/freeglut_ext.h>

#else
#ifdef USE_GLUTCHECKLOOP /* glutCheckLoop tested only under MacOSX, so using its default headers path */
#include <OpenGL/gl.h>
#include <GLUT/glut.h>
#define glutMainLoopEvent glutCheckLoop #define glutMainLoopEvent glutCheckLoop
#endif #endif




||||||
x
 
000:0
Caricamento…
Annulla
Salva