Browse Source

* Fixed glutCheckLoop headers, testing only under MacOSX

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 18 years ago
parent
commit
8a340a8676
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      caca/driver_gl.c

+ 5
- 2
caca/driver_gl.c View File

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

#if defined(USE_GL)

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

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



Loading…
Cancel
Save