ChangeSet ID: 21257 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@winehq.org 2005/11/14 06:28:59
Modified files: dlls/wined3d : device.c
Log message: Oliver Stieber oliver_stieber@yahoo.co.uk 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.
Patch: http://cvs.winehq.org/patch.py?id=21257
Old revision New revision Changes Path 1.95 1.96 +1 -2 wine/dlls/wined3d/device.c
Index: wine/dlls/wined3d/device.c diff -u -p wine/dlls/wined3d/device.c:1.95 wine/dlls/wined3d/device.c:1.96 --- wine/dlls/wined3d/device.c:1.95 14 Nov 2005 12:28:59 -0000 +++ wine/dlls/wined3d/device.c 14 Nov 2005 12:28:59 -0000 @@ -1446,13 +1446,12 @@ HRESULT WINAPI IWineD3DDeviceImpl_Create
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);