From e0324402251645fc0923c82da349edac8a655c6e Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Wed, 27 Feb 2019 17:56:38 +0000 Subject: [PATCH] Fix background colour in Direct3D 9 demo --- demo/d3d9/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/d3d9/main.c b/demo/d3d9/main.c index b329e2b..cdd0fb3 100644 --- a/demo/d3d9/main.c +++ b/demo/d3d9/main.c @@ -280,7 +280,7 @@ int main(void) { HRESULT hr; hr = IDirect3DDevice9_Clear(device, 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL, - D3DCOLOR_COLORVALUE(bg.a, bg.r, bg.g, bg.b), 0.0f, 0); + D3DCOLOR_COLORVALUE(bg.r, bg.g, bg.b, bg.a), 0.0f, 0); NK_ASSERT(SUCCEEDED(hr)); hr = IDirect3DDevice9_BeginScene(device);