Properly check GLX_INDIRECT_RENDERING in glapi/tests/check_table
Actually use $DEFINES, so we can see if GLX_INDIRECT_RENDERING is defined If GLX_INDIRECT_RENDERING is defined, _GLAPI_SKIP_PROTO_ENTRY_POINTS will be defined, and libglapi won't contain the 'protocol entry points', so we should provide stubs in check_table.cpp
This commit is contained in:
parent
ed8ddd57e9
commit
28e1693630
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
if !HAVE_SHARED_GLAPI
|
||||
AM_CFLAGS = $(PTHREAD_CFLAGS)
|
||||
AM_CPPFLAGS = \
|
||||
$(DEFINES) \
|
||||
-I$(top_srcdir)/src/gtest/include \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
-I$(top_srcdir)/include
|
||||
|
|
|
|||
|
|
@ -1511,7 +1511,7 @@ const struct name_offset known_dispatch[] = {
|
|||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
#ifndef GLX_INDIRECT_RENDERING
|
||||
#ifdef GLX_INDIRECT_RENDERING
|
||||
extern "C" {
|
||||
GLAPI GLboolean GLAPIENTRY
|
||||
glAreTexturesResidentEXT(GLsizei n, const GLuint *textures,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue