diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 8dc62813707..3a6a2c797a0 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -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; diff --git a/dlls/winex11.drv/palette.c b/dlls/winex11.drv/palette.c index bd687cadfea..d19d11256e2 100644 --- a/dlls/winex11.drv/palette.c +++ b/dlls/winex11.drv/palette.c @@ -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 */