Changeset 694 for libcaca/trunk/caca/driver_gl.c
- Timestamp:
- Mar 27, 2006, 12:57:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/driver_gl.c
r689 r694 25 25 #include <GL/glut.h> 26 26 #include <GL/freeglut_ext.h> 27 28 #ifdef USE_GLUTCHECKLOOP 29 #define glutMainLoopEvent glutCheckLoop 30 #endif 27 31 28 32 #include <string.h> … … 74 78 static void gl_handle_mouse(int, int, int, int); 75 79 static void gl_handle_mouse_motion(int, int); 80 static void _display(void); 76 81 77 82 struct driver_private … … 147 152 glutSpecialFunc(gl_handle_special_key); 148 153 glutReshapeFunc(gl_handle_reshape); 154 glutDisplayFunc(_display); 155 149 156 150 157 glutMouseFunc(gl_handle_mouse); … … 223 230 return kk->drv.p->height; 224 231 } 232 225 233 226 234 static void gl_display(caca_t *kk) … … 453 461 } 454 462 463 464 465 static void _display(void) 466 { 467 caca_t *kk = gl_kk; 468 gl_display(kk); 469 } 470 471 455 472 /* 456 473 * Driver initialisation
Note: See TracChangeset
for help on using the changeset viewer.