Browse Source

Merge pull request #815 from ccawley2011/d3d9

dumblob 4 months ago
parent
commit
509c75b086
No account linked to committer's email
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/d3d9/main.c

+ 1 - 1
demo/d3d9/main.c View File

@@ -280,7 +280,7 @@ int main(void)
280 280
         {
281 281
             HRESULT hr;
282 282
             hr = IDirect3DDevice9_Clear(device, 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL,
283
-                D3DCOLOR_COLORVALUE(bg.a, bg.r, bg.g, bg.b), 0.0f, 0);
283
+                D3DCOLOR_COLORVALUE(bg.r, bg.g, bg.b, bg.a), 0.0f, 0);
284 284
             NK_ASSERT(SUCCEEDED(hr));
285 285
 
286 286
             hr = IDirect3DDevice9_BeginScene(device);