Module: wine Branch: master Commit: e40af7d3fa80ce6a536a38595301d5596a9a68ee URL: http://source.winehq.org/git/wine.git/?a=commit;h=e40af7d3fa80ce6a536a385953...
Author: Stefan Dösinger stefan@codeweavers.com Date: Thu May 10 22:59:24 2007 +0200
wined3d: Prevent wrong bumpenvmap warnings.
---
dlls/wined3d/utils.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 12e5230..c444232 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; }