mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-07 10:43:35 +00:00
glamor: Initialize pixmap private's container to correct value.
When calling from ephyr, we forgot to initialize it to the correct value. Will cause segfault when run Xephyr. Signed-off-by: Zhigang Gong <zhigang.gong@gmail.com>
This commit is contained in:
committed by
Zhigang Gong
parent
ca36ada041
commit
489e6c4e6f
@@ -197,6 +197,7 @@ glamor_create_screen_pixmap(ScreenPtr screen, int w, int h, int depth,
|
||||
pixmap_priv->tex = 0;
|
||||
pixmap_priv->gl_fbo = 1;
|
||||
pixmap_priv->gl_tex = 1;
|
||||
pixmap_priv->container = pixmap;
|
||||
|
||||
screen->CreatePixmap = glamor_create_pixmap;
|
||||
return pixmap;
|
||||
|
||||
Reference in New Issue
Block a user