Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/gl_common


Modified Files:
        evas_gl_common.h evas_gl_image.c 


Log Message:
including glx.h is not necessary (and should not be included here). Add some 
missing const

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_common.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_gl_common.h    19 Dec 2006 14:12:40 -0000      1.9
+++ evas_gl_common.h    4 Mar 2007 16:18:06 -0000       1.10
@@ -21,7 +21,6 @@
 #include <unistd.h>
 
 #include <GL/gl.h>
-#include <GL/glx.h>
 #include <GL/glu.h>
 
 #include <X11/Xlib.h>
@@ -191,7 +190,7 @@
 Evas_GL_Texture  *evas_gl_common_ycbcr601pl_texture_new(Evas_GL_Context *gc, 
unsigned char **rows, int w, int h, int smooth);
 void              evas_gl_common_ycbcr601pl_texture_update(Evas_GL_Texture 
*tex, unsigned char **rows, int w, int h, int smooth);
     
-Evas_GL_Image    *evas_gl_common_image_load(Evas_GL_Context *gc, char *file, 
char *key, Evas_Image_Load_Opts *lo);
+Evas_GL_Image    *evas_gl_common_image_load(Evas_GL_Context *gc, const char 
*file, const char *key, Evas_Image_Load_Opts *lo);
 Evas_GL_Image    *evas_gl_common_image_new_from_data(Evas_GL_Context *gc, int 
w, int h, int *data, int alpha, int cspace);
 Evas_GL_Image    *evas_gl_common_image_new_from_copied_data(Evas_GL_Context 
*gc, int w, int h, int *data, int alpha, int cspace);
 Evas_GL_Image    *evas_gl_common_image_new(Evas_GL_Context *gc, int w, int h, 
int alpha, int cspace);
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_image.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evas_gl_image.c     29 Dec 2006 03:32:45 -0000      1.6
+++ evas_gl_image.c     4 Mar 2007 16:18:06 -0000       1.7
@@ -1,7 +1,7 @@
 #include "evas_gl_private.h"
 
 Evas_GL_Image *
-evas_gl_common_image_load(Evas_GL_Context *gc, char *file, char *key, 
Evas_Image_Load_Opts *lo)
+evas_gl_common_image_load(Evas_GL_Context *gc, const char *file, const char 
*key, Evas_Image_Load_Opts *lo)
 {
    Evas_GL_Image *im;
    RGBA_Image *im_im;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to