. More Watcom C++ warnings fixed in Mesa.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: glapi.c,v 1.4 1999/11/12 00:06:07 brianp Exp $ */
|
||||
/* $Id: glapi.c,v 1.5 1999/11/12 16:46:56 kendallb Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
@@ -2453,7 +2453,7 @@ void GLAPIENTRY glWindowPos4dvMESA(const GLdouble *p)
|
||||
|
||||
|
||||
#ifdef _GLAPI_MESA_resize_buffers
|
||||
GLAPI void GLAPIENTRY glResizeBuffersMESA(void)
|
||||
void GLAPIENTRY glResizeBuffersMESA(void)
|
||||
{
|
||||
DISPATCH(ResizeBuffersMESA)();
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: glheader.h,v 1.1 1999/11/11 01:22:26 brianp Exp $ */
|
||||
/* $Id: glheader.h,v 1.2 1999/11/12 16:46:56 kendallb Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
@@ -61,5 +61,11 @@
|
||||
|
||||
#include <GL/gl.h>
|
||||
|
||||
/* Disable unreachable code warnings for Watcom C++ */
|
||||
|
||||
#ifdef __WATCOMC__
|
||||
#pragma disable_message(201)
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user