Skip to content

Commit

Permalink
Restore display mode when destroying DirectDraw device.
Browse files Browse the repository at this point in the history
git-svn-id: https://www.williamfeely.info/svn/dxgl@49 8a90861a-4eca-46d5-b744-240ff16d0c4d
  • Loading branch information
dxgldotorg committed Dec 25, 2011
1 parent a7abe45 commit 826bf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddraw/glDirectDraw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ glDirectDraw7::glDirectDraw7(GUID FAR* lpGUID, IUnknown FAR* pUnkOuter)

glDirectDraw7::~glDirectDraw7()
{
//FIXME("glDirectDraw7::~glDirectDraw7: Destructor.\n");
RestoreDisplayMode();
if(clippers)
{
for(int i = 0; i < clippercount; i++)
Expand Down

0 comments on commit 826bf21

Please sign in to comment.