REVERT! hell no. glu is not going to become a dependency. it never
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 7 Mar 2011 19:11:18 +0000 (19:11 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 7 Mar 2011 19:11:18 +0000 (19:11 +0000)
was. you broke gl-es support and didnt link to glu either. it's a
separate lib. no no no no no.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@57558 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/modules/engines/gl_x11/evas_engine.h
src/modules/engines/gl_x11/evas_x_main.c

index 23f0ae3..3e796e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2011-02-27  Vincent Torri
 
        * Fixed static linking of the bmp, wbmp and tga loaders
-
-2011-03-07  Mike Blumenkrantz
-
-        * Fix segv when trying to set gl viewpoint with NULL ctx
-        * Add more verbose error message when glXMakeCurrent fails
index ae9ccbd..30a0c04 100644 (file)
@@ -24,7 +24,7 @@
 #   include <X11/Xutil.h>
 #   include <X11/extensions/Xrender.h>
 #   include <X11/Xresource.h> // xres - dpi
-#  endif
+#endif
 # else
 #  include <X11/Xlib.h>
 #  include <X11/Xatom.h>
@@ -32,7 +32,6 @@
 #  include <X11/extensions/Xrender.h>
 #  include <X11/Xresource.h> // xres - dpi
 #  include <GL/gl.h>
-#  include <GL/glu.h>
 #  include <GL/glext.h>
 #  include <GL/glx.h>
 # endif
index 28a13ef..95437dd 100644 (file)
@@ -300,7 +300,7 @@ eng_window_new(Display *disp,
           {
              if (!glXMakeCurrent(gw->disp, gw->win, gw->context))
                {
-                  printf("Error: glXMakeCurrent(%p, 0x%x, %p) failed - '%s'\n", (void *)gw->disp, (unsigned int)gw->win, (void *)gw->context, gluErrorString(glGetError()));
+                  printf("Error: glXMakeCurrent(%p, 0x%x, %p) failed\n", (void *)gw->disp, (unsigned int)gw->win, (void *)gw->context);
                   eng_window_free(gw);
                   return NULL;
                }
@@ -531,7 +531,7 @@ eng_window_use(Evas_GL_X11_Window *gw)
 #endif
          }
      }
-   if (gw && gw->gl_context) evas_gl_common_context_use(gw->gl_context);
+   if (gw) evas_gl_common_context_use(gw->gl_context);
 }
 
 void