wgl: Fix a typo in the WGL_TEXTURE_TARGET_ARB emulation code.
This commit is contained in:
parent
4682f8f77a
commit
6f3e8a2fcf
|
@ -2246,9 +2246,9 @@ static GLboolean WINAPI X11DRV_wglQueryPbufferARB(HPBUFFERARB hPbuffer, int iAtt
|
|||
return GL_FALSE;
|
||||
}
|
||||
switch (object->texture_target) {
|
||||
case GL_TEXTURE_1D: *piValue = WGL_TEXTURE_CUBE_MAP_ARB; break;
|
||||
case GL_TEXTURE_2D: *piValue = WGL_TEXTURE_1D_ARB; break;
|
||||
case GL_TEXTURE_CUBE_MAP: *piValue = WGL_TEXTURE_2D_ARB; break;
|
||||
case GL_TEXTURE_1D: *piValue = WGL_TEXTURE_1D_ARB; break;
|
||||
case GL_TEXTURE_2D: *piValue = WGL_TEXTURE_2D_ARB; break;
|
||||
case GL_TEXTURE_CUBE_MAP: *piValue = WGL_TEXTURE_CUBE_MAP_ARB; break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue