wined3d: Restore a line that got lost.

This commit is contained in:
H. Verbeet 2007-08-21 23:22:26 +02:00 committed by Alexandre Julliard
parent d2d5bbe5d0
commit 2e2ab3c3cc
1 changed files with 1 additions and 0 deletions

View File

@ -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;