This patch fixes expedite glew part compilation.
--
Nicolas Aguirre
Mail: [EMAIL PROTECTED]
Web: http://www.digital-corner.org
Index: src/bin/engine_gl_glew.c
===================================================================
--- src/bin/engine_gl_glew.c (revision 36180)
+++ src/bin/engine_gl_glew.c (working copy)
@@ -177,7 +177,7 @@
int depth;
int i;
int ok = 0;
-
+ LONG style = 0;
for (i = 1; i < argc; i++)
{
if ((!strcmp(argv[i], "-e")) && (i < (argc - 1)))
@@ -189,7 +189,7 @@
if (!ok) return 0;
hinstance = GetModuleHandle(NULL);
- if (!instance) return 0;
+ if (!hinstance) return 0;
wc.style = 0;
wc.lpfnWndProc = MainWndProc;
@@ -248,9 +248,9 @@
destroy_window:
DestroyWindow(window);
unregister_class:
- UnregisterClass("Evas_Gl_Glew_Test", instance);
+ UnregisterClass("Evas_Gl_Glew_Test", hinstance);
free_library:
- FreeLibrary(instance);
+ FreeLibrary(hinstance);
return 0;
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel