[clutter] glx-tfp: Don't include glx.h



commit 5ab10e0f7a44b90f0ef10cae1aa374c0859ebc69
Author: Robert Bragg <robert linux intel com>
Date:   Mon Jul 4 15:14:52 2011 +0100

    glx-tfp: Don't include glx.h
    
    Since the implementation of ClutterGLXTexturePixmap has nothing GLX
    specific about it (it is simply layered on top of
    ClutterX11TexturePixmap) we don't need to include glx.h. Removing this
    include also means that the code can be built for compatibility against
    GLES drivers.
    
    Signed-off-by: Emmanuele Bassi <ebassi linux intel com>

 clutter/cogl/clutter-glx-texture-pixmap.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/clutter/cogl/clutter-glx-texture-pixmap.c b/clutter/cogl/clutter-glx-texture-pixmap.c
index c1bcdfe..f3108e9 100644
--- a/clutter/cogl/clutter-glx-texture-pixmap.c
+++ b/clutter/cogl/clutter-glx-texture-pixmap.c
@@ -49,8 +49,6 @@
 
 #include <string.h>
 
-#include <GL/glx.h>
-
 #include "x11/clutter-x11-texture-pixmap.h"
 
 #include <cogl/cogl-texture-pixmap-x11.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]