wined3d: Get rid of the "state" field from struct wined3d_stateblock.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-02-15 00:38:13 -06:00 committed by Alexandre Julliard
parent 477e01af71
commit c19a798003
2 changed files with 0 additions and 3 deletions

View file

@ -604,7 +604,6 @@ ULONG CDECL wined3d_stateblock_decref(struct wined3d_stateblock *stateblock)
if (!refcount)
{
state_cleanup(&stateblock->state);
wined3d_stateblock_state_cleanup(&stateblock->stateblock_state);
heap_free(stateblock);
}
@ -1557,7 +1556,6 @@ static HRESULT stateblock_init(struct wined3d_stateblock *stateblock,
stateblock->ref = 1;
stateblock->device = device;
state_init(&stateblock->state, NULL, d3d_info, 0);
wined3d_stateblock_state_init(&stateblock->stateblock_state, device, 0);
if (type == WINED3D_SBT_RECORDED)

View file

@ -3604,7 +3604,6 @@ struct wined3d_stateblock
/* Array indicating whether things have been set or changed */
struct wined3d_saved_states changed;
struct wined3d_state state;
struct wined3d_stateblock_state stateblock_state;
/* Contained state management */