summaryrefslogtreecommitdiff
path: root/glx/singlesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/singlesize.c')
-rw-r--r--glx/singlesize.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/glx/singlesize.c b/glx/singlesize.c
index 777ebb35e..4c60b6920 100644
--- a/glx/singlesize.c
+++ b/glx/singlesize.c
@@ -36,10 +36,6 @@
#include "glxserver.h"
#include "singlesize.h"
#include "indirect_size_get.h"
-#include "glapitable.h"
-#include "glapi.h"
-#include "glthread.h"
-#include "dispatch.h"
/*
** These routines compute the size of variable-size returned parameters.
@@ -75,7 +71,7 @@ __glGetMap_size(GLenum target, GLenum query)
switch (query) {
case GL_COEFF:
k = __glMap1d_size(target);
- CALL_GetMapiv(GET_DISPATCH(), (target, GL_ORDER, &order));
+ glGetMapiv(target, GL_ORDER, &order);
/*
** The query above might fail, but then order will be zero anyway.
*/
@@ -99,7 +95,7 @@ __glGetMap_size(GLenum target, GLenum query)
case GL_COEFF:
k = __glMap2d_size(target);
majorMinor[0] = majorMinor[1] = 0;
- CALL_GetMapiv(GET_DISPATCH(), (target, GL_ORDER, majorMinor));
+ glGetMapiv(target, GL_ORDER, majorMinor);
/*
** The query above might fail, but then majorMinor will be zeroes
*/
@@ -172,7 +168,7 @@ __glGetPixelMap_size(GLenum map)
default:
return -1;
}
- CALL_GetIntegerv(GET_DISPATCH(), (query, &size));
+ glGetIntegerv(query, &size);
return size;
}