Fixed compilation when gtkglext is not installed.

This commit is contained in:
yabause 2009-01-08 20:06:02 +00:00
parent 96333a1907
commit 71b04380f1
2 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,8 @@ void black_screen () {
// else see gdk_gl.c / gdk_gl.h // else see gdk_gl.c / gdk_gl.h
BOOL my_gl_Begin (int screen) { return FALSE; } BOOL my_gl_Begin (int screen) { return FALSE; }
void my_gl_End (int screen) {} void my_gl_End (int screen) {}
void reshape (GtkWidget * widget, int screen) {}
void init_GL_capabilities( int use_software_convert) {}
int has_pix_col_map=0; int has_pix_col_map=0;
u32 pix_col_map[0x8000]; u32 pix_col_map[0x8000];

View File

@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifdef GTKGLEXT_AVAILABLE
#include "callbacks_dtools.h" #include "callbacks_dtools.h"
#include "../gdk_gl.h" #include "../gdk_gl.h"
@ -459,3 +460,5 @@ void other_screen (GtkWidget * widget, int screen) {
} }
#endif #endif
#endif