• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision9b5c586fef4f8e2ddc5eb3a9db95104593a4fd1b (tree)
Time2024-07-05 19:45:51
Authorsebastian_bugiu
Commitersebastian_bugiu

Log Message

Added PCZSceneManager to OgreRoot init.

Change Summary

Incremental Difference

diff -r 9475e8c4f21d -r 9b5c586fef4f OgreMain/src/OgreRoot.cpp
--- a/OgreMain/src/OgreRoot.cpp Mon Jul 01 10:53:34 2024 +0200
+++ b/OgreMain/src/OgreRoot.cpp Fri Jul 05 12:45:51 2024 +0200
@@ -114,6 +114,7 @@
114114 #elif (OGRE_PLATFORM == OGRE_PLATFORM_WIN32)
115115 //#include "RenderSystems/GL3Plus/include/OgreGL3PlusRenderSystem.h"
116116 #include "RenderSystems/Direct3D11/include/OgreD3D11RenderSystem.h"
117+#include "PlugIns/PCZSceneManager/include/OgrePCZPlugin.h"
117118 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE_IOS
118119 //#include "../../../RenderSystems/Metal/include/OgreMetalRenderSystem.h"
119120 #include "../../../RenderSystems/Metal/include/OgreMetalPlugin.h"
@@ -314,8 +315,13 @@
314315 #if (OGRE_PLATFORM == OGRE_PLATFORM_ANDROID)
315316 GLES3RenderSystem *renderSystem = OGRE_NEW GLES3RenderSystem();
316317 #elif (OGRE_PLATFORM == OGRE_PLATFORM_WIN32)
318+ PCZPlugin *pcz = OGRE_NEW PCZPlugin();
319+ installPlugin(pcz);
320+
317321 // GL3PlusRenderSystem *renderSystem = OGRE_NEW GL3PlusRenderSystem();
318322 D3D11RenderSystem *renderSystem = OGRE_NEW D3D11RenderSystem();
323+ Root::getSingleton().addRenderSystem(renderSystem);
324+ Root::getSingleton().setRenderSystem( renderSystem );
319325 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE_IOS
320326 {
321327 // Ogre::RenderSystem *renderSystem = OGRE_NEW MetalRenderSystem();