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
|
@ -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…
Reference in New Issue
Block a user