From 6f3e8a2fcf0d119a66bd07a01a0ee3313f638417 Mon Sep 17 00:00:00 2001 From: Roderick Colenbrander Date: Fri, 27 Jul 2007 11:00:19 +0200 Subject: [PATCH] wgl: Fix a typo in the WGL_TEXTURE_TARGET_ARB emulation code. --- dlls/winex11.drv/opengl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 353ee60e526..d6202e53c8f 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -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; } } }