Commit 53b01b72 authored by hybrid's avatar hybrid

Fix init warning.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2871 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 17bc727e
......@@ -29,7 +29,7 @@ Copyright 2006-2009 Burningwater, Thomas Alten
struct GameData
{
GameData ( const path &startupDir) :
retVal(0), createExDevice(0), Device(0), StartupDir(startupDir)
retVal(0), StartupDir(startupDir), createExDevice(0), Device(0)
{
setDefault ();
}
......
......@@ -755,7 +755,11 @@ vector3df getGravity ( const c8 * surface )
Dynamically load the Irrlicht Library
*/
#if defined(_IRR_WINDOWS_API_) && 1
#if defined(_IRR_WINDOWS_API_)
#ifdef _MSC_VER
#pragma comment(lib, "Irrlicht.lib")
#endif
#include <windows.h>
funcptr_createDevice load_createDevice ( const c8 * filename)
......@@ -771,10 +775,6 @@ funcptr_createDeviceEx load_createDeviceEx ( const c8 * filename)
#else
// TODO: Dynamic Loading for other os
#ifdef _MSC_VER
#pragma comment(lib, "Irrlicht.lib")
#endif
funcptr_createDevice load_createDevice ( const c8 * filename)
{
return createDevice;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment