Stefan Dösinger : wined3d: Remove the invymat from drawprim.c.
Module: wine Branch: master Commit: dfeb40cbffdd875155a8443214033b036c41835a URL: http://source.winehq.org/git/wine.git/?a=commit;h=dfeb40cbffdd875155a8443214... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Wed Jan 10 11:25:04 2007 +0100 wined3d: Remove the invymat from drawprim.c. --- dlls/wined3d/drawprim.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index d210b85..2e4a694 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -93,6 +93,7 @@ static DWORD primitiveToGl(WINED3DPRIMIT /* 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(IWineD3DDevic } } -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) {
participants (1)
-
Alexandre Julliard