H. Verbeet : wined3d: Don't use WINED3DSHADERDECLUSAGE_PSIZE / WINED3DSHADERDECLUSAGE_FOG.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 14 09:25:42 CST 2007


Module: wine
Branch: master
Commit: 2d9540cab765833e3c8ef258191bc3ee565f5189
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2d9540cab765833e3c8ef258191bc3ee565f5189

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Tue Feb 13 23:12:05 2007 +0100

wined3d: Don't use WINED3DSHADERDECLUSAGE_PSIZE / WINED3DSHADERDECLUSAGE_FOG.

---

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

diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index d95391e..87894d9 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -1962,11 +1962,11 @@ void vshader_glsl_output_unpack(
                    usage_idx, reg_mask, i, reg_mask);
                break;
 
-           case WINED3DSHADERDECLUSAGE_PSIZE:
+           case D3DDECLUSAGE_PSIZE:
                shader_addline(buffer, "gl_PointSize = OUT%u.x;\n", i);
                break;
 
-           case WINED3DSHADERDECLUSAGE_FOG:
+           case D3DDECLUSAGE_FOG:
                shader_addline(buffer, "gl_FogFragCoord%s = OUT%u%s;\n", reg_mask, i, reg_mask);
                break;
 




More information about the wine-cvs mailing list