#include <windows.h>
#include <wingdi.h>
+#include <glib.h>
#include <GL/gl.h>
#include <GL/glext.h>
#include "GL/wglext.h"
/* ------------------------------------------------------------------------ */
-extern const char *glo_glXQueryExtensionsString(void);
-
extern void glo_surface_getcontents_readpixels(int formatFlags, int stride,
int bpp, int width, int height, void *data, int noflip);
int glo_init(void) {
WNDCLASSEX wcx;
PIXELFORMATDESCRIPTOR pfd;
- char *ext_str;
+ const char *ext_str;
if (glo_inited) {
printf( "gloffscreen already inited\n" );
{
unbind_qsurface(qsurface->glstate, qsurface);
glo_surface_update_context(qsurface->surface, glstate->context, 0);
-
}
bind_qsurface(glstate, qsurface);