OSDN Git Service

remove CR
authorDaniel Borca <dborca@users.sourceforge.net>
Mon, 30 Aug 2004 08:37:57 +0000 (08:37 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Mon, 30 Aug 2004 08:37:57 +0000 (08:37 +0000)
src/mesa/drivers/windows/gdi/wgl.c

index b530cfc..920929c 100644 (file)
@@ -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;\r
+    (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;\r
+    (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)
-{\r
+{
     (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;\r
+    (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;\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);
 }
@@ -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;\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);
 }
@@ -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;\r
+    (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;\r
+    (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;\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();
@@ -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;\r
+    (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;\r
+    (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;\r
+    (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;\r
+    (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;\r
+   (void) hdc;
    if (ctx_current < 0)
       return FALSE;