r300: Removed the obsolete GLX_DIRECT_RENDERING define.
authorOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 18:07:16 +0000 (18:07 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 18:07:16 +0000 (18:07 +0000)
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r300_maos.h
src/mesa/drivers/dri/r300/r300_tex.h

index cd05927..b0b47be 100644 (file)
@@ -45,7 +45,7 @@ DRIVER_SOURCES = \
 
 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
 
-DRIVER_DEFINES = -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -DR200_MERGED=0 \
+DRIVER_DEFINES = -DCOMPILE_R300 -DR200_MERGED=0 \
        -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300
 
 SYMLINKS = \
index 67fc6e2..055e8c5 100644 (file)
@@ -35,8 +35,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #ifndef __R300_MAOS_H__
 #define __R300_MAOS_H__
 
-#ifdef GLX_DIRECT_RENDERING
-
 #include "r300_context.h"
 
 extern void r300EmitElts(GLcontext * ctx, void *elts, unsigned long n_elts,
@@ -50,4 +48,3 @@ void r300UseArrays(GLcontext * ctx);
 extern void r300ReleaseArrays(GLcontext * ctx);
 
 #endif
-#endif
index 10aabc8..74fa08e 100644 (file)
@@ -35,8 +35,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #ifndef __r300_TEX_H__
 #define __r300_TEX_H__
 
-#ifdef GLX_DIRECT_RENDERING
-
 extern void r300UpdateTextureState(GLcontext * ctx);
 
 extern int r300UploadTexImages(r300ContextPtr rmesa, r300TexObjPtr t,
@@ -46,5 +44,4 @@ extern void r300DestroyTexObj(r300ContextPtr rmesa, r300TexObjPtr t);
 
 extern void r300InitTextureFuncs(struct dd_function_table *functions);
 
-#endif
 #endif                         /* __r300_TEX_H__ */