summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-09-25 16:22:40 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-09-25 16:22:40 +0000
commit968e557dcd6c4611d5517ea0550dc56256ccb99c (patch)
tree6f5b198b4c32f716199f3c9ff057193e09a1c762
parentb1ee387ab5933bc6ad75655f06063558f8ee3f7b (diff)
disable some more code so that it compiles quietly on Windows.
-rw-r--r--src/mesa/drivers/windows/wmesa.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c
index 38174a2e9f..610732161d 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 )