Commit a8d9a2a4 authored by Oliver Stieber's avatar Oliver Stieber Committed by Alexandre Julliard

Fix an intermittent lockup with ATI's driver, I expect the problem is

trying to clear the display before it's visible. Also correct the clear alpha value.
parent 9630d155
......@@ -1446,13 +1446,12 @@ HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevice* ifac
TRACE("Setting up the screen\n");
/* Clear the screen */
glClearColor(0.0, 0.0, 0.0, 0.0);
glClearColor(1.0, 0.0, 0.0, 0.0);
checkGLcall("glClearColor");
glClearIndex(0);
glClearDepth(1);
glClearStencil(0xffff);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_ACCUM_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
checkGLcall("glClear");
glColor3f(1.0, 1.0, 1.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment