aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/querymatrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/querymatrix.c')
-rw-r--r--mesalib/src/mesa/main/querymatrix.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/mesalib/src/mesa/main/querymatrix.c b/mesalib/src/mesa/main/querymatrix.c
index 2843d5589..63d1d8e26 100644
--- a/mesalib/src/mesa/main/querymatrix.c
+++ b/mesalib/src/mesa/main/querymatrix.c
@@ -14,8 +14,9 @@
#include <stdlib.h>
#include <math.h>
-#include "GLES/gl.h"
-#include "GLES/glext.h"
+#include "glheader.h"
+#include "querymatrix.h"
+#include "main/get.h"
/**
@@ -88,13 +89,7 @@ fpclassify(double x)
#endif
-extern GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
-
-/* The Mesa functions we'll need */
-extern void GL_APIENTRY _mesa_GetIntegerv(GLenum pname, GLint *params);
-extern void GL_APIENTRY _mesa_GetFloatv(GLenum pname, GLfloat *params);
-
-GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16])
+GLbitfield GLAPIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16])
{
GLfloat matrix[16];
GLint tmp;