glamor: Fix a spelling mistake in GLAMOR_PIXMAP_FBO_NOT_EXACT_SIZE.
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Markus Wick <markus at selfnet.de>
This commit is contained in:
parent
4e86f4236b
commit
ca507d215f
|
@ -1528,7 +1528,7 @@ glamor_fixup_pixmap_priv(ScreenPtr screen, glamor_pixmap_private *pixmap_priv)
|
|||
|
||||
drawable = &pixmap_priv->base.pixmap->drawable;
|
||||
|
||||
if (!GLAMOR_PIXMAP_FBO_NOT_EAXCT_SIZE(pixmap_priv))
|
||||
if (!GLAMOR_PIXMAP_FBO_NOT_EXACT_SIZE(pixmap_priv))
|
||||
return TRUE;
|
||||
|
||||
old_fbo = pixmap_priv->base.fbo;
|
||||
|
|
|
@ -584,7 +584,7 @@ glamor_set_composite_texture(glamor_screen_private *glamor_priv, int unit,
|
|||
else if (glamor_priv->gl_flavor == GLAMOR_GL_ES2
|
||||
|| pixmap_priv->type == GLAMOR_TEXTURE_LARGE) {
|
||||
if (picture->transform
|
||||
|| (GLAMOR_PIXMAP_FBO_NOT_EAXCT_SIZE(pixmap_priv)))
|
||||
|| (GLAMOR_PIXMAP_FBO_NOT_EXACT_SIZE(pixmap_priv)))
|
||||
repeat_type += RepeatFix;
|
||||
}
|
||||
if (repeat_type >= RepeatFix) {
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
*(_pyscale_) = 1.0 / (_pixmap_priv_)->base.fbo->height; \
|
||||
} while(0)
|
||||
|
||||
#define GLAMOR_PIXMAP_FBO_NOT_EAXCT_SIZE(priv) \
|
||||
#define GLAMOR_PIXMAP_FBO_NOT_EXACT_SIZE(priv) \
|
||||
(priv->base.fbo->width != priv->base.pixmap->drawable.width \
|
||||
|| priv->base.fbo->height != priv->base.pixmap->drawable.height) \
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user