wined3d: fix wrong FIXME-Message

André Hentschel nerv at dawncrow.de
Sat Mar 14 09:45:58 CDT 2009


In comment it sais: 'This is true if vsamplers + MAX_TEXTURES <= 
max_samplers.'
The if-query asks for "MAX_TEXTURES + gl_info->max_vertex_samplers > 
gl_info->max_combined_samplers",which is ok.
But the FIXME then has to say that it was expected to be smaller than 
max_combined_samplers.

---
 dlls/wined3d/directx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 2ec60d4..7c67638 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -912,7 +912,7 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info 
*gl_info) {
                    MAX_TEXTURES + gl_info->max_vertex_samplers > 
gl_info->max_combined_samplers) {
                     FIXME("OpenGL implementation supports %u vertex 
samplers and %u total samplers\n",
                           gl_info->max_vertex_samplers, 
gl_info->max_combined_samplers);
-                    FIXME("Expected vertex samplers + MAX_TEXTURES(=8) 
 > combined_samplers\n");
+                    FIXME("Expected vertex samplers + MAX_TEXTURES(=8) 
<= combined_samplers\n");
                     if( gl_info->max_combined_samplers > MAX_TEXTURES )
                         gl_info->max_vertex_samplers =
                             gl_info->max_combined_samplers - MAX_TEXTURES;
-- 
1.6.2



More information about the wine-patches mailing list