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.
This commit is contained in:
Chia-I Wu 2010-09-15 17:43:21 +08:00
parent 84f7b5d974
commit cad87ebc3a

View file

@ -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