[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Fix comment and messages

noreply at xfce.org noreply at xfce.org
Mon Nov 9 09:42:42 CET 2015


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit e180e807fa85de07ce6d0b634f7bd22311a818b5
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Mon Nov 9 09:37:08 2015 +0100

    compositor: Fix comment and messages
    
    Bug: 11962
    
    Previous commit has the comment backwards.
---
 src/compositor.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index cdf1eb7..a3ea664 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1118,8 +1118,8 @@ check_gl_extensions (ScreenInfo *screen_info)
     if (screen_info->texture_type == GL_TEXTURE_2D)
     {
         /*
-         *  If all we have is GLX_TEXTURE_RECTANGLE_BIT_EXT then we ought to
-         * have GL_ARB_texture_non_power_of_two, otherwise we'll fail.
+         * If all we have is GL_TEXTURE_2D then we ought to have
+         * GL_ARB_texture_non_power_of_two, otherwise we'll fail.
          */
         return (epoxy_has_gl_extension ("GL_ARB_texture_non_power_of_two"));
     }
@@ -1381,7 +1381,7 @@ init_glx (ScreenInfo *screen_info)
 
     if (!check_gl_extensions (screen_info))
     {
-        g_warning ("Selected GLX_TEXTURE_2D but no NPOT available, GL support disabled.");
+        g_warning ("Screen is missing required GL extension, GL support disabled.");
         free_glx_data (screen_info);
 
         return FALSE;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list