mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 02:20:25 +01:00
Clear framebuffer at startup
This commit is contained in:
parent
8830b0a941
commit
f0b66442e8
1 changed files with 0 additions and 2 deletions
|
|
@ -906,7 +906,6 @@ static int __driInitFBDev( struct MiniGLXDisplayRec *dpy )
|
|||
* the clear ioctl to do this, but would need to setup hw state
|
||||
* first.
|
||||
*/
|
||||
if (0) {
|
||||
memset(dpy->FrameBuffer + info->frontOffset,
|
||||
0,
|
||||
info->frontPitch * dpy->cpp * dpy->virtualHeight );
|
||||
|
|
@ -914,7 +913,6 @@ static int __driInitFBDev( struct MiniGLXDisplayRec *dpy )
|
|||
memset(dpy->FrameBuffer + info->backOffset,
|
||||
0,
|
||||
info->backPitch * dpy->cpp * dpy->virtualHeight );
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue