diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c index cb0bda51448..2eb2ae2e5a9 100644 --- a/dlls/ddraw/device.c +++ b/dlls/ddraw/device.c @@ -3248,7 +3248,7 @@ IDirect3DDeviceImpl_7_SetTransform(IDirect3DDevice7 *iface, D3DMATRIX *Matrix) { ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface); - D3DTRANSFORMSTATETYPE type = TransformStateType; + D3DTRANSFORMSTATETYPE type; HRESULT hr; TRACE("(%p)->(%08x,%p): Relay\n", This, TransformStateType, Matrix); @@ -3343,7 +3343,7 @@ IDirect3DDeviceImpl_7_GetTransform(IDirect3DDevice7 *iface, D3DMATRIX *Matrix) { ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface); - D3DTRANSFORMSTATETYPE type = TransformStateType; + D3DTRANSFORMSTATETYPE type; HRESULT hr; TRACE("(%p)->(%08x,%p): Relay\n", This, TransformStateType, Matrix);