From 968e557dcd6c4611d5517ea0550dc56256ccb99c Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Tue, 25 Sep 2001 16:22:40 +0000 Subject: [PATCH] disable some more code so that it compiles quietly on Windows. --- src/mesa/drivers/windows/wmesa.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c index 38174a2e9ff..610732161db 100644 --- a/src/mesa/drivers/windows/wmesa.c +++ b/src/mesa/drivers/windows/wmesa.c @@ -1,4 +1,4 @@ -/* $Id: wmesa.c,v 1.19 2001/09/18 16:39:38 kschultz Exp $ */ +/* $Id: wmesa.c,v 1.20 2001/09/25 16:22:40 kschultz Exp $ */ /* * Windows (Win32) device driver for Mesa 3.4 @@ -75,7 +75,7 @@ GLint stereo_flag = 0 ; static PWMC Current = NULL; WMesaContext WC = NULL; - +#if 0 #ifdef NDEBUG #define assert(ignore) ((void) 0) #else @@ -88,7 +88,7 @@ void Mesa_Assert(void *Cond,void *File,unsigned Line) } #define assert(e) if (!e) Mesa_Assert(#e,__FILE__,__LINE__); #endif - +#endif //#define DD_GETDC (Current->hDC ) #define DD_GETDC ((Current->db_flag) ? Current->dib.hDC : Current->hDC ) //#define DD_GETDC ((Current->db_flag) ? Current->hDCPrimary : Current->hDCBack ) @@ -1311,7 +1311,7 @@ WMesaContext WMesaCreateContext( HWND hWnd, HPALETTE* Pal, return NULL; } - c->gl_ctx->Driver.UpdateState = setup_DD_pointers; + // c->gl_ctx->Driver.UpdateState = setup_DD_pointers; // setup_DD_pointers(c->gl_ctx); @@ -2086,7 +2086,7 @@ void WMesaMove(void) */ #define PACK_8B8G8R( R, G, B ) ( ((B) << 16) | ((G) << 8) | (R) ) - +#if 0 /**********************************************************************/ /*** Triangle rendering ***/ /**********************************************************************/ @@ -2846,7 +2846,7 @@ static void flat_DITHER8_triangle( GLcontext *ctx, GLuint v0, GLuint v1, #endif } - +#endif static /*triangle_func*/ choose_triangle_function( GLcontext *ctx ) -- 2.30.2