mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 12:10:08 +00:00
Fixed dxviewer clear color to be in sRGB space
This commit is contained in:
parent
1b6026a1a2
commit
c6eff9860a
@ -877,7 +877,7 @@ bindProgram(Effect effect, OpenSubdiv::OsdDrawContext::PatchArray const & patch)
|
||||
static void
|
||||
display()
|
||||
{
|
||||
float color[4] = {0.1f, 0.1f, 0.1f, 1.0f};
|
||||
float color[4] = {0.006f, 0.006f, 0.006f, 1.0f};
|
||||
g_pd3dDeviceContext->ClearRenderTargetView(g_pSwapChainRTV, color);
|
||||
|
||||
// Clear the depth buffer.
|
||||
|
Loading…
Reference in New Issue
Block a user