http://bugs.winehq.org/show_bug.cgi?id=29907
--- Comment #15 from Lunknown SolisX007@yahoo.com 2012-02-22 17:56:28 CST --- Hello Austin English,
What i did was right after i found the bad commit in my wine-git directory i copied "git show 8692ff48a953f368860967c1141ec875adba9aaf | patch -p1 -R" to terminal. then compile it.
I did git show on my wine-git directory and this what is what was shown.
commit d1254eddb598ad2a6bddaf09ddb5d73247d460cc Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Jan 20 00:36:25 2012 +0100
wined3d: Properly enable / disable register combiners.
diff --git a/dlls/wined3d/nvidia_texture_shader.c b/dlls/wined3d/nvidia_texture_ shader.c index dc3f8b9..1fef980 100644 --- a/dlls/wined3d/nvidia_texture_shader.c +++ b/dlls/wined3d/nvidia_texture_shader.c @@ -629,15 +629,31 @@ static void nvrc_texfactor(struct wined3d_context *context , const struct wined3d }
/* Context activation is done by the caller. */ -static void nvrc_enable(BOOL enable) {} +static void nvrc_enable(BOOL enable) +{ + if (enable) + { + glEnable(GL_REGISTER_COMBINERS_NV); + checkGLcall("glEnable(GL_REGISTER_COMBINERS_NV)"); + } + else + { + glDisable(GL_REGISTER_COMBINERS_NV); + checkGLcall("glDisable(GL_REGISTER_COMBINERS_NV)"); + } +}
/* Context activation and GL locking are done by the caller. */ static void nvts_enable(BOOL enable) { - if(enable) { + nvrc_enable(enable); + if (enable) + { glEnable(GL_TEXTURE_SHADER_NV); checkGLcall("glEnable(GL_TEXTURE_SHADER_NV)"); - } else { + } + else + { glDisable(GL_TEXTURE_SHADER_NV); checkGLcall("glDisable(GL_TEXTURE_SHADER_NV)"); }
This not bad commit. How can i get to bad commit? So i can patch it.