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
# 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>
# 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
{
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;
}
#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