Matteo Bruni : wined3d: Don't normalize R8G8B8A8_UINT attributes.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 22 15:20:45 CST 2015


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Jan 21 18:32:33 2015 +0100

wined3d: Don't normalize R8G8B8A8_UINT attributes.

---

 dlls/wined3d/state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 7f65998..3c204ca 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -4279,7 +4279,7 @@ static void load_numbered_arrays(struct wined3d_context *context,
                     break;
 
                 case WINED3DFMT_R8G8B8A8_UINT:
-                    GL_EXTCALL(glVertexAttrib4NubvARB(i, ptr));
+                    GL_EXTCALL(glVertexAttrib4ubvARB(i, ptr));
                     break;
                 case WINED3DFMT_B8G8R8A8_UNORM:
                     if (gl_info->supported[ARB_VERTEX_ARRAY_BGRA])




More information about the wine-cvs mailing list