DXGL r520 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r519‎ | r520 | r521 >
Date:23:40, 6 September 2014
Author:admin
Status:new
Tags:
Comment:
Undo unintended commit.
Modified paths:
  • /ddraw/glDirectDrawSurface.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDrawSurface.cpp
@@ -1703,7 +1703,7 @@
17041704 device = glD3DDev7;
17051705 handle = device->AddTexture(this);
17061706 if(handle == -1) TRACE_RET(HRESULT,23,DDERR_OUTOFMEMORY);
1707 - //device->AddRef();
 1707+ device->AddRef();
17081708 *lpHandle = handle;
17091709 TRACE_VAR("*lpHandle",9,*lpHandle);
17101710 TRACE_EXIT(23,D3D_OK);