summaryrefslogtreecommitdiff
path: root/src/glx/singlepix.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-25 22:27:17 +0800
committerChia-I Wu <olv@lunarg.com>2010-10-27 10:49:33 +0800
commite4dbfa44ed018d124e1531077d506c8c914c1a51 (patch)
tree743740c5a73c00c4119d2d30a09ccca67b1505b5 /src/glx/singlepix.c
parente213968f2b99b07e20b69e4dd6f94bea35f54161 (diff)
glapi: Do not use glapioffsets.h.
glapioffsets.h exists for the same reason as glapidispatch.h does. It is of no use to glapi. This commit also drops the use of glapioffsets.h in glx as glx is considered an extension to glapi when it comes to defining public GL entries.
Diffstat (limited to 'src/glx/singlepix.c')
-rw-r--r--src/glx/singlepix.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/glx/singlepix.c b/src/glx/singlepix.c
index 3fe2d4639a..d8a71664d0 100644
--- a/src/glx/singlepix.c
+++ b/src/glx/singlepix.c
@@ -33,7 +33,6 @@
#include "glapitable.h"
#include "glapi.h"
#include "glthread.h"
-#include "glapioffsets.h"
#include <GL/glxproto.h>
void
@@ -109,12 +108,10 @@ __indirect_glGetSeparableFilter(GLenum target, GLenum format, GLenum type,
}
-#define CONCAT(a,b) a ## b
-#define NAME(o) CONCAT(gl_dispatch_stub_, o)
-
-void NAME(_gloffset_GetSeparableFilter) (GLenum target, GLenum format,
- GLenum type, GLvoid * row,
- GLvoid * column, GLvoid * span)
+/* it is defined to gl_dispatch_stub_NNN in indirect.h */
+void gl_dispatch_stub_GetSeparableFilterEXT (GLenum target, GLenum format,
+ GLenum type, GLvoid * row,
+ GLvoid * column, GLvoid * span)
{
struct glx_context *const gc = __glXGetCurrentContext();