mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
modesetting: clear bo in drmmode_create_front_bo
Fixes: https://github.com/X11Libre/xserver/issues/1740 Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult
parent
05fe0b519f
commit
8cb69cd810
@@ -1175,6 +1175,8 @@ static Bool
|
||||
drmmode_create_front_bo(drmmode_ptr drmmode, drmmode_bo *bo,
|
||||
unsigned width, unsigned height, unsigned bpp)
|
||||
{
|
||||
memset(bo, 0, sizeof(*bo));
|
||||
|
||||
bo->width = width;
|
||||
bo->height = height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user