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

wined3d: Remove the invymat from drawprim.c.

parent 329670c7
...@@ -93,6 +93,7 @@ static DWORD primitiveToGl(WINED3DPRIMITIVETYPE PrimitiveType, ...@@ -93,6 +93,7 @@ static DWORD primitiveToGl(WINED3DPRIMITIVETYPE PrimitiveType,
/* Ensure the appropriate material states are set up - only change /* Ensure the appropriate material states are set up - only change
state if really required */ state if really required */
static void init_materials(IWineD3DDevice *iface, BOOL isDiffuseSupplied) { static void init_materials(IWineD3DDevice *iface, BOOL isDiffuseSupplied) {
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
if (This->tracking_color == NEEDS_TRACKING && isDiffuseSupplied) { if (This->tracking_color == NEEDS_TRACKING && isDiffuseSupplied) {
...@@ -120,12 +121,6 @@ static void init_materials(IWineD3DDevice *iface, BOOL isDiffuseSupplied) { ...@@ -120,12 +121,6 @@ static void init_materials(IWineD3DDevice *iface, BOOL isDiffuseSupplied) {
} }
} }
static const GLfloat invymat[16] = {
1.0f, 0.0f, 0.0f, 0.0f,
0.0f, -1.0f, 0.0f, 0.0f,
0.0f, 0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 0.0f, 1.0f};
static BOOL fixed_get_input( static BOOL fixed_get_input(
BYTE usage, BYTE usage_idx, BYTE usage, BYTE usage_idx,
unsigned int* regnum) { unsigned int* regnum) {
......
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