Merge pull request #815 from ccawley2011/d3d9
Fix background colour in Direct3D 9 demo
This commit is contained in:
commit
509c75b086
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user