-/* $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
WGLAPI BOOL GLAPIENTRY wglCopyContext(HGLRC hglrcSrc,HGLRC hglrcDst,UINT mask)
{
- (void) hglrcSrc; (void) hglrcDst; (void) mask;\r
+ (void) hglrcSrc; (void) hglrcDst; (void) mask;
return(FALSE);
}
WGLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC hdc,int iLayerPlane)
{
- (void) hdc; (void) iLayerPlane;\r
+ (void) hdc; (void) iLayerPlane;
SetLastError(0);
return(NULL);
}
}
WGLAPI BOOL GLAPIENTRY wglShareLists(HGLRC hglrc1,HGLRC hglrc2)
-{\r
+{
(void) hglrc1; (void) hglrc2;
return(TRUE);
}
WGLAPI BOOL GLAPIENTRY wglUseFontBitmapsW(HDC hdc,DWORD first,DWORD count,DWORD listBase)
{
- (void) hdc; (void) first; (void) count; (void) listBase;\r
+ (void) hdc; (void) first; (void) count; (void) listBase;
return FALSE;
}
FLOAT extrusion,int format,
LPGLYPHMETRICSFLOAT lpgmf)
{
- (void) hdc; (void) first; (void) count;\r
- (void) listBase; (void) deviation; (void) extrusion; (void) format;\r
- (void) lpgmf;\r
+ (void) hdc; (void) first; (void) count;
+ (void) listBase; (void) deviation; (void) extrusion; (void) format;
+ (void) lpgmf;
SetLastError(0);
return(FALSE);
}
FLOAT extrusion,int format,
LPGLYPHMETRICSFLOAT lpgmf)
{
- (void) hdc; (void) first; (void) count;\r
- (void) listBase; (void) deviation; (void) extrusion; (void) format;\r
- (void) lpgmf;\r
+ (void) hdc; (void) first; (void) count;
+ (void) listBase; (void) deviation; (void) extrusion; (void) format;
+ (void) lpgmf;
SetLastError(0);
return(FALSE);
}
int iLayerPlane,UINT nBytes,
LPLAYERPLANEDESCRIPTOR plpd)
{
- (void) hdc; (void) iPixelFormat; (void) iLayerPlane; (void) nBytes; (void) plpd;\r
+ (void) hdc; (void) iPixelFormat; (void) iLayerPlane; (void) nBytes; (void) plpd;
SetLastError(0);
return(FALSE);
}
int iStart,int cEntries,
CONST COLORREF *pcr)
{
- (void) hdc; (void) iLayerPlane; (void) iStart; (void) cEntries; (void) pcr;\r
+ (void) hdc; (void) iLayerPlane; (void) iStart; (void) cEntries; (void) pcr;
SetLastError(0);
return(0);
}
int iStart,int cEntries,
COLORREF *pcr)
{
- (void) hdc; (void) iLayerPlane; (void) iStart; (void) cEntries; (void) pcr;\r
+ (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;\r
+ (void) hdc; (void) iLayerPlane; (void) bRealize;
SetLastError(0);
return(FALSE);
}
WGLAPI BOOL GLAPIENTRY wglSwapLayerBuffers(HDC hdc,UINT fuPlanes)
{
- (void) fuPlanes;\r
+ (void) fuPlanes;
if( !hdc )
{
WMesaSwapBuffers();
CONST PIXELFORMATDESCRIPTOR *ppfd)
{
int i,best = -1,bestdelta = 0x7FFFFFFF,delta,qt_valid_pix;
- (void) hdc;\r
+ (void) hdc;
qt_valid_pix = qt_pix;
if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR) || ppfd->nVersion != 1)
LPPIXELFORMATDESCRIPTOR ppfd)
{
int qt_valid_pix;
- (void) hdc;\r
+ (void) hdc;
qt_valid_pix = qt_pix;
if(ppfd == NULL)
WGLAPI int GLAPIENTRY wglGetPixelFormat(HDC hdc)
{
- (void) hdc;\r
+ (void) hdc;
if(curPFD == 0)
{
SetLastError(0);
PIXELFORMATDESCRIPTOR *ppfd)
{
int qt_valid_pix;
- (void) hdc;\r
+ (void) hdc;
qt_valid_pix = qt_pix;
if(iPixelFormat < 1 || iPixelFormat > qt_valid_pix || ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR))
WGLAPI BOOL GLAPIENTRY wglSwapBuffers(HDC hdc)
{
- (void) hdc;\r
+ (void) hdc;
if (ctx_current < 0)
return FALSE;