Skip to content

Commit

Permalink
Update ogre3d/demo.d.
Browse files Browse the repository at this point in the history
  • Loading branch information
Syniurge committed Nov 3, 2019
1 parent fcdf971 commit 9646f87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/ogre3d/demo.d
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* Ogre3D D demo based on the Lighting sample. Requires Ogre3D 1.12 or later from the 1.x branch.
*
* Build with:
* (Linux) $ ldc2 -wi -v -cpp-args "-I/usr/local/include/OGRE -I/usr/local/include/OGRE/Bites -I/usr/local/include/OGRE/Overlay -I/usr/local/include/OGRE/RTShaderSystem" -L-L/usr/local/lib -L-lOgreRTShaderSystem -L-lOgreBites -L-lOgreMain -L-lboost_system -L-lboost_thread demo.d
* (Linux) $ ldc2 -wi -v -cpp-args "-I/usr/local/include/OGRE -I/usr/local/include/OGRE/Bites -I/usr/local/include/OGRE/Overlay -I/usr/local/include/OGRE/RTShaderSystem" -L-L/usr/local/lib -L-lOgreRTShaderSystem -L-lOgreBites -L-lOgreMain demo.d
*
* (Windows) $ ldc2.exe -wi -v -cpp-args "-DBOOST_USE_WINDOWS_H -D_MT -D_DLL -fms-extensions -fdelayed-template-parsing -fms-compatibility -fms-compatibility-version=19 -IZ:\boost -IZ:\OGRE-SDK\include -IZ:\OGRE-SDK\include\OGRE -IZ:\OGRE-SDK\include\OGRE\Overlay -IZ:\OGRE-SDK\include\OGREOGRE\RTShaderSystem" -L-lOgreRTShaderSystem -L-lOgreBites -L-lOgreMain -L-lboost_system -L-lboost_thread -L-LZ:\boost\lib -L-LZ:\OGRE-SDK\lib\RelWithDebInfo demo.d
* (Windows) $ ldc2.exe -wi -v -cpp-args "-IZ:\BuildEnv\include -IZ:\BuildEnv\include\OGRE -IZ:\BuildEnv\include\OGRE\Overlay -IZ:\BuildEnv\include\OGRE\RTShaderSystem" -L-lOgreRTShaderSystem -L-lOgreBites -L-lOgreOverlay -L-lOgreMain -L-LZ:\BuildEnv\lib demo.d
*/

pragma (cppmap, "OGRE/Ogre.h");
Expand Down Expand Up @@ -129,6 +129,7 @@ protected:
mTrail.setRenderQueueGroup(cPriorityLights);

// Create the occlusion queries to be used in this sample
import (C++) Ogre = Ogre; // for Ogre.Exception
try {
RenderSystem* renderSystem = Root.getSingleton().getRenderSystem();
mLight1QueryArea = renderSystem.createHardwareOcclusionQuery();
Expand All @@ -141,7 +142,7 @@ protected:
(mLight2QueryArea != null) &&
(mLight2QueryVisible != null);
}
catch (C++) (ref Exception e)
catch (C++) (ref Ogre.Exception e)
{
mUseOcclusionQuery = false;
}
Expand Down

0 comments on commit 9646f87

Please sign in to comment.