mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 22:18:08 +02: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:
parent
ca36ada041
commit
489e6c4e6f
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue