mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 18:59:00 +00:00
Make this build with gcc 2.95
This commit is contained in:
6
dist/Mesa/src/glx/x11/glx_pbuffer.c
vendored
6
dist/Mesa/src/glx/x11/glx_pbuffer.c
vendored
@@ -205,15 +205,15 @@ GetDrawableAttribute( Display *dpy, GLXDrawable drawable,
|
||||
unsigned int length;
|
||||
unsigned int i;
|
||||
unsigned int num_attributes;
|
||||
GLboolean use_glx_1_3 = ((priv->majorVersion > 1)
|
||||
|| (priv->minorVersion >= 3));
|
||||
|
||||
|
||||
if ( (dpy == NULL) || (drawable == 0) ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
priv = __glXInitialize(dpy);
|
||||
GLboolean use_glx_1_3 = ((priv->majorVersion > 1)
|
||||
|| (priv->minorVersion >= 3));
|
||||
|
||||
*value = 0;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user