[Jahshaka-cvs] SF.net SVN: openlibraries:[1464] trunk/src/openmedialib/plugins/glew/ glew_plugin.cp
Status: Beta
Brought to you by:
jahshaka
From: <tim...@us...> - 2009-02-18 09:22:40
|
Revision: 1464 http://openlibraries.svn.sourceforge.net/openlibraries/?rev=1464&view=rev Author: timdewhirst Date: 2009-02-18 09:22:36 +0000 (Wed, 18 Feb 2009) Log Message: ----------- olibs * remove warning Modified Paths: -------------- trunk/src/openmedialib/plugins/glew/glew_plugin.cpp Modified: trunk/src/openmedialib/plugins/glew/glew_plugin.cpp =================================================================== --- trunk/src/openmedialib/plugins/glew/glew_plugin.cpp 2009-02-12 16:15:16 UTC (rev 1463) +++ trunk/src/openmedialib/plugins/glew/glew_plugin.cpp 2009-02-18 09:22:36 UTC (rev 1464) @@ -377,7 +377,8 @@ { // Initialise the glut environment int fake_argc = 1; - char* fake_argv[ ] = { "" }; + static char argv_value[] = ""; + char* fake_argv[ ] = { argv_value }; glutInit( &fake_argc, fake_argv ); glutInitWindowSize( WIN_WIDTH, WIN_HEIGHT ); glutInitDisplayMode( GLUT_DOUBLE | GLUT_RGBA ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |