winex11.drv: Indentation fix.

This commit is contained in:
Andrew Talbot 2012-12-21 19:18:58 +00:00 committed by Alexandre Julliard
parent fd457cd9c2
commit 9acc966688
2 changed files with 4 additions and 4 deletions

View File

@ -682,7 +682,7 @@ static BOOL has_opengl(void)
* enable this function when the Xserver understand GLX 1.3 or newer
*/
pglXQueryDrawable = NULL;
} else if(strcmp("ATI", WineGLInfo.glxClientVendor) == 0) {
} else if(strcmp("ATI", WineGLInfo.glxClientVendor) == 0) {
TRACE("Overriding ATI GLX capabilities!\n");
pglXChooseFBConfig = pglXGetProcAddressARB((const GLubyte *) "glXChooseFBConfig");
pglXGetFBConfigAttrib = pglXGetProcAddressARB((const GLubyte *) "glXGetFBConfigAttrib");
@ -2570,9 +2570,9 @@ static BOOL X11DRV_wglGetPixelFormatAttribivARB( HDC hdc, int iPixelFormat, int
if (!fmt) goto pix_error;
hTest = pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, curGLXAttr, &tmp);
if (hTest) goto get_error;
piValues[i] = GL_FALSE;
piValues[i] = GL_FALSE;
if (GLX_NONE != tmp) piValues[i] = GL_TRUE;
continue;
continue;
case WGL_PIXEL_TYPE_ARB:
curGLXAttr = GLX_RENDER_TYPE;

View File

@ -736,7 +736,7 @@ COLORREF X11DRV_PALETTE_ToLogical(X11DRV_PDEVICE *physDev, int pixel)
if (shifts->logicalBlue.scale<8)
color.blue= color.blue << (8-shifts->logicalBlue.scale) |
color.blue >> (2*shifts->logicalBlue.scale-8);
return RGB(color.red,color.green,color.blue);
return RGB(color.red,color.green,color.blue);
}
/* check if we can bypass X */