Add necessary AddRef/Release stuff to {Set/Get}CurrentViewport.
commita03c939a66d7692dbd7ee2d70b0bd2587e385d1b
authorChristian Costa <titan.costa@wanadoo.fr>
Tue, 14 Oct 2003 01:16:42 +0000 (14 01:16 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 14 Oct 2003 01:16:42 +0000 (14 01:16 +0000)
tree8c815b2c79d64e50dea6eca5def723250ee33ac9
parentbd7bdbce3ff4da14ddf0a8e88cdbb2151e04a7f2
Add necessary AddRef/Release stuff to {Set/Get}CurrentViewport.
When changing parameters of a viewport, do the appropriate update if
it is current.
dlls/ddraw/d3ddevice/main.c
dlls/ddraw/d3dviewport.c