mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Examples: DirectX10: Amends. (#8979)
This commit is contained in:
parent
b3dab0a406
commit
bc5da9b367
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ int main(int, char**)
|
||||||
bool CreateDeviceD3D(HWND hWnd)
|
bool CreateDeviceD3D(HWND hWnd)
|
||||||
{
|
{
|
||||||
// Setup swap chain
|
// Setup swap chain
|
||||||
// This is a basic setup. Optimally could use e.g. DXGI_SWAP_EFFECT_FLIP_DISCARD and handle fullscreen mode differently. See #8979 for suggestions.
|
// This is a basic setup. Optimally could use handle fullscreen mode differently. See #8979 for suggestions.
|
||||||
DXGI_SWAP_CHAIN_DESC sd;
|
DXGI_SWAP_CHAIN_DESC sd;
|
||||||
ZeroMemory(&sd, sizeof(sd));
|
ZeroMemory(&sd, sizeof(sd));
|
||||||
sd.BufferCount = 2;
|
sd.BufferCount = 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue