From: ehofman Date: Wed, 12 Oct 2005 08:59:39 +0000 (+0000) Subject: Martin Spott: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=42224052e2a5350cdac897916c4da28bdb60a30b;p=simgear.git Martin Spott: make GCC on Solaris8 happy. --- diff --git a/simgear/screen/extensions.hxx b/simgear/screen/extensions.hxx index 1391a6a8..b5929e1e 100644 --- a/simgear/screen/extensions.hxx +++ b/simgear/screen/extensions.hxx @@ -446,7 +446,7 @@ typedef XVisualInfo *(*glXGetVisualFromFBConfigProc) (Display *dpy, GLXFBConfig typedef GLXContext (*glXCreateContextWithConfigProc) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); typedef GLXContext (*glXCreateContextProc) (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); typedef void (*glXDestroyPbufferProc) (Display *dpy, GLXPbuffer pbuf); -typedef int (*glXQueryGLXPbufferSGIXProc) (Display *, GLXPbufferSGIX, int, unsigned int *); +typedef int (*glXQueryGLXPbufferSGIXProc) (Display *, GLXPbuffer, int, unsigned int *); typedef void (*glXQueryDrawableProc) (Display *, GLXDrawable, int, unsigned int *); #endif /* WIN32 */