Fix background colour in Direct3D 9 demo
This commit is contained in:
parent
181cfd86c4
commit
e032440225
@ -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