Skip to content

Commit

Permalink
Main: SceneManager - drop _renderVisibleObjects indirection
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Aug 1, 2024
1 parent 502a052 commit 6915b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions OgreMain/include/OgreSceneManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,6 @@ namespace Ogre {
/// Internal method for destroying shadow textures (texture-based shadows)
void destroyShadowTextures(void);

/** Internal method for rendering all objects using the default queue sequence. */
void renderVisibleObjectsDefaultSequence(void);
/** Internal method for preparing the render queue for use with each render. */
void prepareRenderQueue(void);

Expand Down Expand Up @@ -1770,7 +1768,7 @@ namespace Ogre {

/** Sends visible objects found in _findVisibleObjects to the rendering engine.
*/
void _renderVisibleObjects(void) { renderVisibleObjectsDefaultSequence(); }
void _renderVisibleObjects(void);

/** Prompts the class to send its contents to the renderer.
Expand Down
2 changes: 1 addition & 1 deletion OgreMain/src/OgreSceneManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ void SceneManager::_findVisibleObjects(

}
//-----------------------------------------------------------------------
void SceneManager::renderVisibleObjectsDefaultSequence(void)
void SceneManager::_renderVisibleObjects(void)
{
firePreRenderQueues();

Expand Down

0 comments on commit 6915b7f

Please sign in to comment.