wined3d: Remove the invymat from drawprim.c.
This commit is contained in:
parent
329670c7f1
commit
dfeb40cbff
|
@ -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) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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) {
|
||||||
|
|
Loading…
Reference in New Issue