DXGL r626 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r625‎ | r626 | r627 >
Date:23:24, 15 November 2015
Author:admin
Status:new
Tags:
Comment:
Initialize hWnd value in glDirectDraw object.
Modified paths:
  • /ddraw/glDirectDraw.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDraw.cpp
@@ -1365,6 +1365,7 @@
13661366 if(!this) TRACE_RET(HRESULT,23,DDERR_INVALIDOBJECT);
13671367 if(initialized) TRACE_RET(HRESULT,23,DDERR_ALREADYINITIALIZED);
13681368 devid = devid_default;
 1369+ hWnd = NULL;
13691370 primarylost = true;
13701371 renderer = NULL;
13711372 primary = NULL;