From e40af7d3fa80ce6a536a38595301d5596a9a68ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Thu, 10 May 2007 22:59:24 +0200 Subject: [PATCH] wined3d: Prevent wrong bumpenvmap warnings. --- dlls/wined3d/utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 12e5230018c..c4442328e1c 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -2218,14 +2218,13 @@ void set_tex_op(IWineD3DDevice *iface, BOOL isAlpha, int Stage, WINED3DTEXTUREOP checkGLcall("GL_TEXTURE_ENV, opr2_target, opr2"); Handled = TRUE; + break; } else if(GL_SUPPORT(NV_TEXTURE_SHADER2)) { /* Technically texture shader support without register combiners is possible, but not expected to occur * on real world cards, so for now a fixme should be enough */ FIXME("Implement bump mapping with GL_NV_texture_shader in non register combiner path\n"); } - Handled = FALSE; - break; default: Handled = FALSE; }