summaryrefslogtreecommitdiffstats
path: root/src/glx/single2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/single2.c')
-rw-r--r--src/glx/single2.c4
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();