mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-11 06:00:31 +01:00
vfb: clarify code flow in vfbScreenInit
v2: Enhance commit message (Pekka) Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
744c419cb4
commit
86c8458f3d
1 changed files with 3 additions and 3 deletions
|
|
@ -922,12 +922,12 @@ vfbScreenInit(ScreenPtr pScreen, int argc, char **argv)
|
|||
|
||||
ret = fbScreenInit(pScreen, pbits, pvfb->width, pvfb->height,
|
||||
dpix, dpiy, pvfb->paddedWidth, pvfb->bitsPerPixel);
|
||||
if (ret && Render)
|
||||
fbPictureInit(pScreen, 0, 0);
|
||||
|
||||
if (!ret)
|
||||
return FALSE;
|
||||
|
||||
if (Render)
|
||||
fbPictureInit(pScreen, 0, 0);
|
||||
|
||||
if (!vfbRandRInit(pScreen))
|
||||
return FALSE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue