From cad87ebc3a9c176a44f5193af7e16d6ecad4e03f Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 15 Sep 2010 17:43:21 +0800 Subject: [PATCH] glapi: Fix build errors for ES. The latest glext.h defines GL_FIXED. Test GL_OES_fixed_point instead to decide whether to define GLfixed and GLclampx. This fixes fdo bug #30205. --- src/mapi/glapi/glapi_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapi/glapi/glapi_priv.h b/src/mapi/glapi/glapi_priv.h index 89f81c723e9..3ab553a2b8d 100644 --- a/src/mapi/glapi/glapi_priv.h +++ b/src/mapi/glapi/glapi_priv.h @@ -38,7 +38,7 @@ #include "GL/gl.h" #include "GL/glext.h" -#ifndef GL_FIXED +#ifndef GL_OES_fixed_point typedef int GLfixed; typedef int GLclampx; #endif -- 2.30.2