Correct this

This commit is contained in:
twinaphex 2018-01-03 15:22:17 +01:00
parent 6e22e2b4fc
commit 06366c9c85

View File

@ -946,7 +946,7 @@ bool d3d_device_get_backbuffer(LPDIRECT3DDEVICE dev,
if (!dev) if (!dev)
return false; return false;
#if defined(HAVE_D3D9) && !defined(__cplusplus) #if defined(HAVE_D3D9)
#ifdef __cplusplus #ifdef __cplusplus
if (SUCCEEDED(dev->GetBackBuffer( if (SUCCEEDED(dev->GetBackBuffer(
swapchain_idx, idx, swapchain_idx, idx,