DXGL r617 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r616‎ | r617 | r618 >
Date:22:41, 26 September 2015
Author:admin
Status:new
Tags:
Comment:
Fix reference counts on ddraw4 surfaces.
Modified paths:
  • /ddraw/glDirectDrawSurface.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDrawSurface.cpp
@@ -432,7 +432,7 @@
433433 }
434434 if(riid == IID_IDirectDrawSurface4)
435435 {
436 - glDirectDrawSurface7_AddRef(This);
 436+ glDirectDrawSurface7_AddRef4(This);
437437 *ppvObj = This->dds4;
438438 TRACE_VAR("*ppvObj",14,*ppvObj);
439439 TRACE_EXIT(23,DD_OK);