Mesa (master): glx: Make __glXSendError available in non-Apple builds

Ian Romanick idr at kemper.freedesktop.org
Mon Dec 19 22:56:29 UTC 2011


Module: Mesa
Branch: master
Commit: 6f76efa9224f6a1cbe35f419172549abafdd751e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f76efa9224f6a1cbe35f419172549abafdd751e

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Dec  7 16:12:21 2011 -0800

glx: Make __glXSendError available in non-Apple builds

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Cc: Jeremy Huddleston <jeremyhu at apple.com>

---

 src/glx/Makefile                |    1 +
 src/glx/apple/Makefile          |    2 +-
 src/glx/{apple => }/glx_error.c |    0 
 src/glx/{apple => }/glx_error.h |    0 
 4 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/glx/Makefile b/src/glx/Makefile
index dd96973..183ffb1 100644
--- a/src/glx/Makefile
+++ b/src/glx/Makefile
@@ -15,6 +15,7 @@ SOURCES = \
 	  glxconfig.c \
 	  glxcmds.c \
 	  glxcurrent.c \
+	  glx_error.c \
 	  glxext.c \
 	  glxextensions.c \
 	  indirect_glx.c \
diff --git a/src/glx/apple/Makefile b/src/glx/apple/Makefile
index 6868d28..66e6658 100644
--- a/src/glx/apple/Makefile
+++ b/src/glx/apple/Makefile
@@ -39,7 +39,7 @@ SOURCES = \
 	../compsize.c \
 	../glxconfig.c \
 	glx_empty.c \
-	glx_error.c \
+	../glx_error.c \
 	../glx_pbuffer.c \
 	../glx_query.c \
 	../glxcmds.c \
diff --git a/src/glx/apple/glx_error.c b/src/glx/glx_error.c
similarity index 100%
rename from src/glx/apple/glx_error.c
rename to src/glx/glx_error.c
diff --git a/src/glx/apple/glx_error.h b/src/glx/glx_error.h
similarity index 100%
rename from src/glx/apple/glx_error.h
rename to src/glx/glx_error.h




More information about the mesa-commit mailing list