Commit d42ac070 authored by teella's avatar teella

added examples to MacOSX project

1.HelloWorld
15.LoadIrrFile
16.Quake3Shader


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1147 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 24334f19
...@@ -109,8 +109,13 @@ int main() ...@@ -109,8 +109,13 @@ int main()
*/ */
IrrlichtDevice *device = IrrlichtDevice *device =
#ifdef MACOSX
createDevice( video::EDT_OPENGL, dimension2d<s32>(640, 480), 16,
false, false, false, 0);
#else
createDevice( video::EDT_SOFTWARE, dimension2d<s32>(640, 480), 16, createDevice( video::EDT_SOFTWARE, dimension2d<s32>(640, 480), 16,
false, false, false, 0); false, false, false, 0);
#endif
/* /*
Set the caption of the window to some nice text. Note that there is Set the caption of the window to some nice text. Note that there is
......
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