[Mesa-dev] [PATCH] build: Fix "no previous prototype for glReadBufferNV" with --disable-asm

Matt Turner mattst88 at gmail.com
Fri Jan 18 10:23:21 PST 2013


Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56710
---
 src/mapi/glapi/glapi_dispatch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mapi/glapi/glapi_dispatch.c b/src/mapi/glapi/glapi_dispatch.c
index be65ebe..5a0897e 100644
--- a/src/mapi/glapi/glapi_dispatch.c
+++ b/src/mapi/glapi/glapi_dispatch.c
@@ -86,7 +86,7 @@
 #ifdef GLX_INDIRECT_RENDERING
 /* those link to libglapi.a should provide the entry points */
 #define _GLAPI_SKIP_PROTO_ENTRY_POINTS
-#endif
 #include "glapi/glapitemp.h"
+#endif
 
 #endif /* USE_X86_ASM */
-- 
1.7.8.6



More information about the mesa-dev mailing list