[Glamor] [PATCH 01/34] glamor: Fix a spelling mistake in GLAMOR_PIXMAP_FBO_NOT_EXACT_SIZE.
Alex Deucher
alexdeucher at gmail.com
Fri Feb 28 10:01:56 PST 2014
From: Eric Anholt <eric at anholt.net>
Pulled from Eric's xserver glamor.
Signed-off-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
src/glamor_pixmap.c | 2 +-
src/glamor_render.c | 2 +-
src/glamor_utils.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/glamor_pixmap.c b/src/glamor_pixmap.c
index 9f2ecbb..368812a 100644
--- a/src/glamor_pixmap.c
+++ b/src/glamor_pixmap.c
@@ -1275,7 +1275,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;
diff --git a/src/glamor_render.c b/src/glamor_render.c
index 492d94d..9bca747 100644
--- a/src/glamor_render.c
+++ b/src/glamor_render.c
@@ -601,7 +601,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) {
diff --git a/src/glamor_utils.h b/src/glamor_utils.h
index cf0f1eb..334015d 100644
--- a/src/glamor_utils.h
+++ b/src/glamor_utils.h
@@ -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) \
--
1.8.3.1
More information about the Glamor
mailing list