[PATCH 08/21] glamor: Remove warning message when pixmap cannot be stored in a texture

Keith Packard keithp at keithp.com
Tue Apr 1 17:29:07 PDT 2014


This happens when you have 4bpp pixmaps; it's not an error, so stop
flooding the log file when it happens.

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 glamor/glamor_pixmap.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/glamor/glamor_pixmap.c b/glamor/glamor_pixmap.c
index 891ecdd..c275af7 100644
--- a/glamor/glamor_pixmap.c
+++ b/glamor/glamor_pixmap.c
@@ -283,8 +283,6 @@ glamor_get_tex_format_type_from_pictformat_gl(PictFormatShort format,
         break;
 
     default:
-        LogMessageVerb(X_INFO, 0,
-                       "fail to get matched format for %x \n", format);
         return -1;
     }
     return 0;
-- 
1.9.0



More information about the xorg-devel mailing list