H. Verbeet : wined3d: Restore a line that got lost.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Aug 22 06:23:16 CDT 2007
Module: wine
Branch: master
Commit: 2e2ab3c3cc711bb75c2649d2263a409dd0d7fae2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e2ab3c3cc711bb75c2649d2263a409dd0d7fae2
Author: H. Verbeet <hverbeet at gmail.com>
Date: Tue Aug 21 23:22:26 2007 +0200
wined3d: Restore a line that got lost.
---
dlls/wined3d/device.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 8852e4a..2208c63 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -469,6 +469,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateStateBlock(IWineD3DDevice* iface,
for(j = 1; j <= WINEHIGHEST_RENDER_STATE; j++) {
object->contained_render_states[j - 1] = j;
}
+ object->num_contained_render_states = WINEHIGHEST_RENDER_STATE;
/* TODO: Filter unused transforms between TEXTURE8 and WORLD0? */
for(j = 1; j <= HIGHEST_TRANSFORMSTATE; j++) {
object->contained_transform_states[j - 1] = j;
More information about the wine-cvs
mailing list