Explorar el Código

Fix build with GCC 2.95.

tags/mesa_7_3_rc2
Owain G. Ainsworth hace 16 años
padre
commit
b4866f8a52
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/glx/x11/glx_pbuffer.c

+ 2
- 2
src/glx/x11/glx_pbuffer.c Ver fichero

@@ -220,14 +220,14 @@ GetDrawableAttribute(Display * dpy, GLXDrawable drawable,
unsigned int length;
unsigned int i;
unsigned int num_attributes;
GLboolean use_glx_1_3;

if ((dpy == NULL) || (drawable == 0)) {
return 0;
}

priv = __glXInitialize(dpy);
GLboolean use_glx_1_3 = ((priv->majorVersion > 1)
|| (priv->minorVersion >= 3));
use_glx_1_3 = ((priv->majorVersion > 1) || (priv->minorVersion >= 3));

*value = 0;


Cargando…
Cancelar
Guardar