Commit 05750690 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

wined3d: Compute fog factor in process_vertices_strided().

parent 937891cc
......@@ -4927,6 +4927,19 @@ static inline void context_release(struct wined3d_context *context)
context->device->adapter->adapter_ops->adapter_release_context(context);
}
static inline float wined3d_get_float_state(const struct wined3d_state *state, enum wined3d_render_state rs)
{
union
{
DWORD d;
float f;
}
tmpvalue;
tmpvalue.d = state->render_states[rs];
return tmpvalue.f;
}
/* The WNDCLASS-Name for the fake window which we use to retrieve the GL capabilities */
#define WINED3D_OPENGL_WINDOW_CLASS_NAME "WineD3D_OpenGL"
......
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