All pastes #85205 Raw Edit

stringfellow

public text v1 · immutable
·published 2006-07-11 19:25 UTC
rendered paste body
diff --git a/dlls/wined3d/vertexbuffer.c b/dlls/wined3d/vertexbuffer.c
index 35a4d9e..72bba14 100644
--- a/dlls/wined3d/vertexbuffer.c
+++ b/dlls/wined3d/vertexbuffer.c
@@ -196,10 +196,7 @@ static void     WINAPI IWineD3DVertexBuf
             }

             /* If any data that needs conversion has changed we have to reload the whole buffer */
-            if( ( (This->strided.u.s.position_transformed || strided.u.s.position_transformed) &&
-                  This->strided.u.s.position.lpData != strided.u.s.position.lpData) ||
-                !(This->strided.u.s.diffuse.lpData == strided.u.s.diffuse.lpData || strided.u.s.diffuse.VBO != This->vbo)   ||
-                !(This->strided.u.s.specular.lpData == strided.u.s.specular.lpData || strided.u.s.specular.VBO != This->vbo) ) {
+            if (TRUE) {

                 start = 0;
                 end = This->resource.size;