Commit 8aa6d49d authored by Ian Romanick's avatar Ian Romanick Committed by Keith Packard
Browse files

glx: Don't request prototypes for GL extension functions



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

I believe this was necessary back before the AIGLX days, but that was a long,
long time ago.  The warnings recently showed up with the addition of
-Wredundant-decls to the CWARNFLAGS.

v2: Update the commit message, no code changes.
Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
Cc: Adam Jackson <ajax@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Acked-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
parent 258abbf8
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment