DXGL r49 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r48‎ | r49 | r50 >
Date:21:12, 25 December 2011
Author:admin
Status:new
Tags:
Comment:
Restore display mode when destroying DirectDraw device.
Modified paths:
  • /ddraw/glDirectDraw.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDraw.cpp
@@ -563,7 +563,7 @@
564564
565565 glDirectDraw7::~glDirectDraw7()
566566 {
567 - //FIXME("glDirectDraw7::~glDirectDraw7: Destructor.\n");
 567+ RestoreDisplayMode();
568568 if(clippers)
569569 {
570570 for(int i = 0; i < clippercount; i++)