Changeset 698 for libcaca/trunk
- Timestamp:
- Mar 27, 2006, 11:35:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/driver_gl.c
r697 r698 29 29 # include <GL/glut.h> 30 30 # include <GL/freeglut_ext.h> 31 #endif32 33 #ifdef HAVE_GLUTCHECKLOOP34 # define glutMainLoopEvent glutCheckLoop35 31 #endif 36 32 … … 206 202 0, kk->drv.p->height - 16, 16, 16, 0); 207 203 204 #ifdef HAVE_GLUTCHECKLOOP 205 glutCheckLoop(); 206 #else 208 207 glutMainLoopEvent(); 208 #endif 209 209 glutPostRedisplay(); 210 210 } … … 305 305 glDisable(GL_TEXTURE_2D); 306 306 307 #ifdef HAVE_GLUTCHECKLOOP 308 glutCheckLoop(); 309 #else 307 310 glutMainLoopEvent(); 311 #endif 308 312 glutSwapBuffers(); 309 313 glutPostRedisplay(); … … 326 330 static int gl_get_event(caca_t *kk, struct caca_event *ev) 327 331 { 332 #ifdef HAVE_GLUTCHECKLOOP 333 glutCheckLoop(); 334 #else 328 335 glutMainLoopEvent(); 336 #endif 329 337 330 338 if(kk->resize.resized)
Note: See TracChangeset
for help on using the changeset viewer.