mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
example_glfw_dx11/main.c: avoid compiler warning
This commit is contained in:
@@ -234,7 +234,7 @@ void CleanupDeviceD3D()
|
||||
|
||||
void CreateRenderTarget()
|
||||
{
|
||||
ID3D11Texture2D* pBackBuffer;
|
||||
ID3D11Resource* pBackBuffer;
|
||||
IDXGISwapChain_GetBuffer(g_pSwapChain, 0, &IID_ID3D11Texture2D, (void**)&pBackBuffer);
|
||||
ID3D11Device_CreateRenderTargetView(g_pd3dDevice, pBackBuffer, NULL, &g_mainRenderTargetView);
|
||||
ID3D11Texture2D_Release(pBackBuffer);
|
||||
|
Reference in New Issue
Block a user