From e4dbfa44ed018d124e1531077d506c8c914c1a51 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 25 Oct 2010 22:27:17 +0800 Subject: 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. --- src/glx/singlepix.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/glx/singlepix.c') 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 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(); -- cgit v1.2.3