Commit 2a24e84a authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Add render states to the state table.

parent c0268c78
...@@ -410,6 +410,9 @@ DWORD get_flexible_vertex_size(DWORD d3dvtVertexType); ...@@ -410,6 +410,9 @@ DWORD get_flexible_vertex_size(DWORD d3dvtVertexType);
/* Routines and structures related to state management */ /* Routines and structures related to state management */
typedef void (*APPLYSTATEFUNC)(DWORD state, IWineD3DStateBlockImpl *stateblock); typedef void (*APPLYSTATEFUNC)(DWORD state, IWineD3DStateBlockImpl *stateblock);
#define STATE_RENDER(a) (a)
#define STATE_IS_RENDER(a) ((a) >= STATE_RENDER(1) && (a) <= STATE_RENDER(WINEHIGHEST_RENDER_STATE))
struct StateEntry struct StateEntry
{ {
DWORD representative; DWORD representative;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment