[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    [PATCH] glx: Revert part of 9838b703
From:       "Ian Romanick" <idr () freedesktop ! org>
Date:       2012-06-29 21:06:02
Message-ID: 1341003962-26469-1-git-send-email-idr () freedesktop ! org
[Download RAW message or body]

From: Ian Romanick <ian.d.romanick@intel.com>

The server does not want GL extension prototypes.  It never links with
anything that could possibly provide implementations of these functions.  It
*is* the provide, and it does not provde these symbols.  All this does is
create hundreds of warnings like:

incude/GL/glext.h:5570:45: warning: redundant redeclaration of \
'glMultTransposeMatrixd' [-Wredundant-decls] include/GL/gl.h:1940:45: note: previous \
declaration of 'glMultTransposeMatrixd' was here

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: Adam Jackson <ajax@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Keith Packard <keithp@keithp.com>
---
 glx/glxserver.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/glx/glxserver.h b/glx/glxserver.h
index 87c94d9..24e3d62 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -46,7 +46,6 @@
 #include <resource.h>
 #include <scrnintstr.h>
 
-#define GL_GLEXT_PROTOTYPES     /* we want prototypes */
 #include <GL/gl.h>
 #include <GL/glxproto.h>
 
-- 
1.7.6.5

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic