diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c index a8545b453dd..c728a7aa9ac 100644 --- a/dlls/ddraw/device.c +++ b/dlls/ddraw/device.c @@ -903,8 +903,8 @@ IDirect3DDeviceImpl_3_NextViewport(IDirect3DDevice3 *iface, if(!vp) { - return DDERR_INVALIDPARAMS; *lplpDirect3DViewport3 = NULL; + return DDERR_INVALIDPARAMS; }