diff options
author | Chia-I Wu <[email protected]> | 2010-10-25 22:05:20 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-27 10:06:25 +0800 |
commit | b5022ad03584f119b27c143b53e7ed80e8c12ffb (patch) | |
tree | 3adbb6dc219119ec1ac2e4d64cac89c78302f79e /src/glx/single2.c | |
parent | 9b3c4d3e67db9d43fc6b12d2b4943b087c80c926 (diff) |
glapi: Do not use glapidispatch.h.
glapidispatch.h exists so that core mesa (libmesa.a) can be built for
DRI drivers or for non-DRI drivers as a compile time decision (whether
IN_DRI_DRIVER is defined). It is of no use to glapi. This commit also
drops the use of glapidispatch.h in glx and libgl-xlib as they are
considered extensions to glapi when it comes to defining public GL
entries.
Diffstat (limited to 'src/glx/single2.c')
-rw-r--r-- | src/glx/single2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/glx/single2.c b/src/glx/single2.c index 318d18e5554..66281fa9c99 100644 --- a/src/glx/single2.c +++ b/src/glx/single2.c @@ -36,7 +36,6 @@ #include "indirect.h" #include "indirect_vertex_array.h" #include "glapitable.h" -#include "glapidispatch.h" #include "glapi.h" #ifdef USE_XCB #include <xcb/xcb.h> @@ -944,8 +943,7 @@ glAreTexturesResidentEXT(GLsizei n, const GLuint * textures, struct glx_context *const gc = __glXGetCurrentContext(); if (gc->isDirect) { - return CALL_AreTexturesResident(GET_DISPATCH(), - (n, textures, residences)); + return GET_DISPATCH()->AreTexturesResident(n, textures, residences); } else { struct glx_context *const gc = __glXGetCurrentContext(); |