DXGL r323 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r322‎ | r323 | r324 >
Date:18:40, 9 February 2013
Author:admin
Status:new
Tags:
Comment:
Add missing Validate stub to IDirect3DExecuteBuffer.
Modified paths:
  • /ddraw/glDirect3DExecuteBuffer.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3DExecuteBuffer.cpp
@@ -127,6 +127,12 @@
128128 return D3D_OK;
129129 }
130130
 131+HRESULT WINAPI glDirect3DExecuteBuffer::Validate(LPDWORD lpdwOffset, LPD3DVALIDATECALLBACK lpFunc, LPVOID lpUserArg, DWORD dwReserved)
 132+{
 133+ if(!this) return DDERR_INVALIDOBJECT;
 134+ return DDERR_UNSUPPORTED;
 135+}
 136+
131137 HRESULT glDirect3DExecuteBuffer::ExecuteLock(LPD3DEXECUTEBUFFERDESC lpDesc,LPD3DEXECUTEDATA lpData)
132138 {
133139 if(!this) return DDERR_INVALIDOBJECT;