summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/windows/gdi/wgl.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/mesa/drivers/windows/gdi/wgl.c b/src/mesa/drivers/windows/gdi/wgl.c
index b530cfc02d..920929c42e 100644
--- a/src/mesa/drivers/windows/gdi/wgl.c
+++ b/src/mesa/drivers/windows/gdi/wgl.c
@@ -1,4 +1,4 @@
-/* $Id: wgl.c,v 1.5 2004/08/25 15:59:48 brianp Exp $ */
+/* $Id: wgl.c,v 1.6 2004/08/30 08:37:57 dborca Exp $ */
/*
* This library is free software; you can redistribute it and/or
@@ -107,7 +107,7 @@ static unsigned curPFD = 0;
WGLAPI BOOL GLAPIENTRY wglCopyContext(HGLRC hglrcSrc,HGLRC hglrcDst,UINT mask)
{
- (void) hglrcSrc; (void) hglrcDst; (void) mask;
+ (void) hglrcSrc; (void) hglrcDst; (void) mask;
return(FALSE);
}
@@ -167,7 +167,7 @@ WGLAPI BOOL GLAPIENTRY wglDeleteContext(HGLRC hglrc)
WGLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC hdc,int iLayerPlane)
{
- (void) hdc; (void) iLayerPlane;
+ (void) hdc; (void) iLayerPlane;
SetLastError(0);
return(NULL);
}
@@ -213,7 +213,7 @@ WGLAPI BOOL GLAPIENTRY wglMakeCurrent(HDC hdc,HGLRC hglrc)
}
WGLAPI BOOL GLAPIENTRY wglShareLists(HGLRC hglrc1,HGLRC hglrc2)
-{
+{
(void) hglrc1; (void) hglrc2;
return(TRUE);
}
@@ -431,7 +431,7 @@ WGLAPI BOOL GLAPIENTRY wglUseFontBitmapsA(HDC hdc, DWORD first,
WGLAPI BOOL GLAPIENTRY wglUseFontBitmapsW(HDC hdc,DWORD first,DWORD count,DWORD listBase)
{
- (void) hdc; (void) first; (void) count; (void) listBase;
+ (void) hdc; (void) first; (void) count; (void) listBase;
return FALSE;
}
@@ -440,9 +440,9 @@ WGLAPI BOOL GLAPIENTRY wglUseFontOutlinesA(HDC hdc,DWORD first,DWORD count,
FLOAT extrusion,int format,
LPGLYPHMETRICSFLOAT lpgmf)
{
- (void) hdc; (void) first; (void) count;
- (void) listBase; (void) deviation; (void) extrusion; (void) format;
- (void) lpgmf;
+ (void) hdc; (void) first; (void) count;
+ (void) listBase; (void) deviation; (void) extrusion; (void) format;
+ (void) lpgmf;
SetLastError(0);
return(FALSE);
}
@@ -452,9 +452,9 @@ WGLAPI BOOL GLAPIENTRY wglUseFontOutlinesW(HDC hdc,DWORD first,DWORD count,
FLOAT extrusion,int format,
LPGLYPHMETRICSFLOAT lpgmf)
{
- (void) hdc; (void) first; (void) count;
- (void) listBase; (void) deviation; (void) extrusion; (void) format;
- (void) lpgmf;
+ (void) hdc; (void) first; (void) count;
+ (void) listBase; (void) deviation; (void) extrusion; (void) format;
+ (void) lpgmf;
SetLastError(0);
return(FALSE);
}
@@ -463,7 +463,7 @@ WGLAPI BOOL GLAPIENTRY wglDescribeLayerPlane(HDC hdc,int iPixelFormat,
int iLayerPlane,UINT nBytes,
LPLAYERPLANEDESCRIPTOR plpd)
{
- (void) hdc; (void) iPixelFormat; (void) iLayerPlane; (void) nBytes; (void) plpd;
+ (void) hdc; (void) iPixelFormat; (void) iLayerPlane; (void) nBytes; (void) plpd;
SetLastError(0);
return(FALSE);
}
@@ -472,7 +472,7 @@ WGLAPI int GLAPIENTRY wglSetLayerPaletteEntries(HDC hdc,int iLayerPlane,
int iStart,int cEntries,
CONST COLORREF *pcr)
{
- (void) hdc; (void) iLayerPlane; (void) iStart; (void) cEntries; (void) pcr;
+ (void) hdc; (void) iLayerPlane; (void) iStart; (void) cEntries; (void) pcr;
SetLastError(0);
return(0);
}
@@ -481,21 +481,21 @@ WGLAPI int GLAPIENTRY wglGetLayerPaletteEntries(HDC hdc,int iLayerPlane,
int iStart,int cEntries,
COLORREF *pcr)
{
- (void) hdc; (void) iLayerPlane; (void) iStart; (void) cEntries; (void) pcr;
+ (void) hdc; (void) iLayerPlane; (void) iStart; (void) cEntries; (void) pcr;
SetLastError(0);
return(0);
}
WGLAPI BOOL GLAPIENTRY wglRealizeLayerPalette(HDC hdc,int iLayerPlane,BOOL bRealize)
{
- (void) hdc; (void) iLayerPlane; (void) bRealize;
+ (void) hdc; (void) iLayerPlane; (void) bRealize;
SetLastError(0);
return(FALSE);
}
WGLAPI BOOL GLAPIENTRY wglSwapLayerBuffers(HDC hdc,UINT fuPlanes)
{
- (void) fuPlanes;
+ (void) fuPlanes;
if( !hdc )
{
WMesaSwapBuffers();
@@ -509,7 +509,7 @@ WGLAPI int GLAPIENTRY wglChoosePixelFormat(HDC hdc,
CONST PIXELFORMATDESCRIPTOR *ppfd)
{
int i,best = -1,bestdelta = 0x7FFFFFFF,delta,qt_valid_pix;
- (void) hdc;
+ (void) hdc;
qt_valid_pix = qt_pix;
if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR) || ppfd->nVersion != 1)
@@ -568,7 +568,7 @@ WGLAPI int GLAPIENTRY wglDescribePixelFormat(HDC hdc,int iPixelFormat,UINT nByte
LPPIXELFORMATDESCRIPTOR ppfd)
{
int qt_valid_pix;
- (void) hdc;
+ (void) hdc;
qt_valid_pix = qt_pix;
if(ppfd == NULL)
@@ -597,7 +597,7 @@ WGLAPI PROC GLAPIENTRY wglGetProcAddress(LPCSTR lpszProc)
WGLAPI int GLAPIENTRY wglGetPixelFormat(HDC hdc)
{
- (void) hdc;
+ (void) hdc;
if(curPFD == 0)
{
SetLastError(0);
@@ -610,7 +610,7 @@ WGLAPI BOOL GLAPIENTRY wglSetPixelFormat(HDC hdc,int iPixelFormat,
PIXELFORMATDESCRIPTOR *ppfd)
{
int qt_valid_pix;
- (void) hdc;
+ (void) hdc;
qt_valid_pix = qt_pix;
if(iPixelFormat < 1 || iPixelFormat > qt_valid_pix || ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR))
@@ -624,7 +624,7 @@ WGLAPI BOOL GLAPIENTRY wglSetPixelFormat(HDC hdc,int iPixelFormat,
WGLAPI BOOL GLAPIENTRY wglSwapBuffers(HDC hdc)
{
- (void) hdc;
+ (void) hdc;
if (ctx_current < 0)
return FALSE;