[1/2] wined3d: Restore a line that got lost
H. Verbeet
hverbeet at gmail.com
Tue Aug 21 16:22:26 CDT 2007
This got lost by commit 92ce028a0b3aba513f8fb62d7021533896cd99f6.
Changelog:
- Restore a line that got lost
-------------- next part --------------
---
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-patches
mailing list