Commit 42aca39e authored by keithw's avatar keithw
Browse files

Don't let NoBackBuffer option affect the Depth buffer.

parent 54723f8e
......@@ -814,6 +814,8 @@ I830Allocate3DMemory(ScrnInfoPtr pScrn, const int flags)
alloced / 1024, pI830->BackBuffer.Start);
/* Depth Buffer -- same size as the back buffer */
size = ROUND_TO_PAGE(pScrn->displayWidth * lines * pI830->cpp);
memset(&(pI830->DepthBuffer), 0, sizeof(pI830->DepthBuffer));
pI830->DepthBuffer.Key = -1;
/*
......
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