DXGL r424 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r423‎ | r424 | r425 >
Date:01:00, 10 April 2014
Author:admin
Status:new
Tags:
Comment:
Fix Direct3D FVF stride.
Modified paths:
  • /ddraw/glDirect3DDevice.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3DDevice.cpp
@@ -784,7 +784,7 @@
785785 break;
786786 }
787787 }
788 - int stride = NextMultipleOf8(ptr*4);
 788+ int stride = ptr*4;
789789 for(i = 0; i < 17; i++)
790790 vertdata[i].stride = stride;
791791 TRACE_EXIT(23,D3D_OK);