Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #815 from ccawley2011/d3d9
Browse files Browse the repository at this point in the history
Fix background colour in Direct3D 9 demo
  • Loading branch information
dumblob committed Mar 1, 2019
2 parents 181cfd8 + e032440 commit 509c75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/d3d9/main.c
Expand Up @@ -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);
Expand Down

0 comments on commit 509c75b

Please sign in to comment.