mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 15:48:07 +02:00
glamor: Check large pixmap users in glamor_largepixmap.c
This enables the assertion that all users of the large pixmap member are restricted to pixmaps which are actually large. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
5fc3e99f53
commit
b2452311bd
1 changed files with 0 additions and 2 deletions
|
|
@ -4,9 +4,7 @@
|
|||
|
||||
static inline glamor_pixmap_private_large_t *
|
||||
__glamor_large(glamor_pixmap_private *pixmap_priv) {
|
||||
#if 0
|
||||
assert(pixmap_priv->type == GLAMOR_TEXTURE_LARGE);
|
||||
#endif
|
||||
return &pixmap_priv->large;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue