Fixed compilation when gtkglext is not installed.
This commit is contained in:
parent
96333a1907
commit
71b04380f1
|
@ -81,6 +81,8 @@ void black_screen () {
|
|||
// else see gdk_gl.c / gdk_gl.h
|
||||
BOOL my_gl_Begin (int screen) { return FALSE; }
|
||||
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;
|
||||
u32 pix_col_map[0x8000];
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifdef GTKGLEXT_AVAILABLE
|
||||
#include "callbacks_dtools.h"
|
||||
#include "../gdk_gl.h"
|
||||
|
||||
|
@ -459,3 +460,5 @@ void other_screen (GtkWidget * widget, int screen) {
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue