From b04bcd14ee329a12acc1b7895ee9ac4aa74344e3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 11 Dec 2000 15:41:47 +0000 Subject: minor changes to fix compile problems/warnings --- src/glut/glx/glut_vidresize.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/glut/glx/glut_vidresize.c') diff --git a/src/glut/glx/glut_vidresize.c b/src/glut/glx/glut_vidresize.c index 5b82573478..0146a29d8c 100644 --- a/src/glut/glx/glut_vidresize.c +++ b/src/glut/glx/glut_vidresize.c @@ -7,10 +7,6 @@ #include -#if !defined(_WIN32) -#include -#endif - #ifdef __sgi #include #endif @@ -20,9 +16,11 @@ /* Grumble. The IRIX 6.3 and early IRIX 6.4 OpenGL headers support the video resize extension, but failed to define GLX_SGIX_video_resize. */ +#if 0 #ifdef GLX_SYNC_FRAME_SGIX #define GLX_SGIX_video_resize 1 #endif +#endif #if defined(GLX_VERSION_1_1) && defined(GLX_SGIX_video_resize) static int canVideoResize = -1; @@ -43,7 +41,7 @@ static int dx = -1, dy = -1, dw = -1, dh = -1; static volatile int errorCaught; /* ARGSUSED */ -static +static int catchXSGIvcErrors(Display * dpy, XErrorEvent * event) { errorCaught = 1; @@ -94,6 +92,8 @@ glutVideoResizeGet(GLenum param) errorCaught = 0; +#if defined(GLX_GLXEXT_PROTOTYPES) +#endif glXQueryChannelDeltasSGIX(__glutDisplay, __glutScreen, videoResizeChannel, &dx, &dy, &dw, &dh); -- cgit v1.2.3