DXGL r577 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r576‎ | r577 | r578 >
Date:23:49, 22 December 2014
Author:admin
Status:new
Tags:
Comment:
Uninstall DXGL fullscreen window hook when DDraw object is destroyed.
Modified paths:
  • /ddraw/glDirectDraw.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDraw.cpp
@@ -643,6 +643,7 @@
644644 TRACE_ENTER(1,14,this);
645645 if(initialized)
646646 {
 647+ if (fullscreen) UninstallDXGLFullscreenHook(hWnd);
647648 RestoreDisplayMode();
648649 if(clippers)
649650 {