Stefan Dösinger : wined3d: Fix a copypaste typo.
Alexandre Julliard
julliard at winehq.org
Mon May 16 11:36:49 CDT 2011
Module: wine
Branch: master
Commit: e4038ebab95dbd61b5bf4f2e885da4813b8b9e92
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e4038ebab95dbd61b5bf4f2e885da4813b8b9e92
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu May 12 21:34:25 2011 +0200
wined3d: Fix a copypaste typo.
---
dlls/wined3d/arb_program_shader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index c987674..97ad3a6 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -3875,7 +3875,7 @@ static int compare_sig(const struct wined3d_shader_signature_element *sig1, cons
if ((ret = strcmp(sig1[i].semantic_name, sig2[i].semantic_name))) return ret;
if(sig1[i].semantic_idx != sig2[i].semantic_idx) return sig1[i].semantic_idx < sig2[i].semantic_idx ? -1 : 1;
if(sig1[i].sysval_semantic != sig2[i].sysval_semantic) return sig1[i].sysval_semantic < sig2[i].sysval_semantic ? -1 : 1;
- if(sig1[i].component_type != sig2[i].component_type) return sig1[i].sysval_semantic < sig2[i].component_type ? -1 : 1;
+ if(sig1[i].component_type != sig2[i].component_type) return sig1[i].component_type < sig2[i].component_type ? -1 : 1;
if(sig1[i].register_idx != sig2[i].register_idx) return sig1[i].register_idx < sig2[i].register_idx ? -1 : 1;
if(sig1[i].mask != sig2->mask) return sig1[i].mask < sig2[i].mask ? -1 : 1;
}
More information about the wine-cvs
mailing list