wined3d: Remove the invymat from drawprim.c.

This commit is contained in:
Stefan Dösinger 2007-01-10 11:25:04 +01:00 committed by Alexandre Julliard
parent 329670c7f1
commit dfeb40cbff
1 changed files with 1 additions and 6 deletions

View File

@ -93,6 +93,7 @@ static DWORD primitiveToGl(WINED3DPRIMITIVETYPE PrimitiveType,
/* Ensure the appropriate material states are set up - only change
state if really required */
static void init_materials(IWineD3DDevice *iface, BOOL isDiffuseSupplied) {
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
if (This->tracking_color == NEEDS_TRACKING && 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(
BYTE usage, BYTE usage_idx,
unsigned int* regnum) {