mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
winex11: Added WGL_BIND_TO_TEXTURE_DEPTH_NV to ConvertAttribWGLtoGLX.
This commit is contained in:
parent
c5083961b3
commit
210363e464
@ -758,6 +758,7 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf
|
||||
nvfloatattrib = iWGLAttr[++cur];
|
||||
TRACE("pAttr[%d] = WGL_FLOAT_COMPONENTS_NV: %x\n", cur, nvfloatattrib);
|
||||
break ;
|
||||
case WGL_BIND_TO_TEXTURE_DEPTH_NV:
|
||||
case WGL_BIND_TO_TEXTURE_RGB_ARB:
|
||||
case WGL_BIND_TO_TEXTURE_RGBA_ARB:
|
||||
case WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV:
|
||||
@ -1692,7 +1693,7 @@ BOOL X11DRV_wglMakeCurrent(X11DRV_PDEVICE *physDev, HGLRC hglrc) {
|
||||
|
||||
if (!has_opengl()) {
|
||||
ERR("No libGL on this box - disabling OpenGL support !\n");
|
||||
return 0;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
wine_tsx11_lock();
|
||||
|
Loading…
Reference in New Issue
Block a user