Skip to content

Commit 329775e

Browse files
committed
Fix various functions that couldn't be public (#265)
The struct ScheduledTasks is protected, hence functions that use it as arguments can never be used. Additionally, those functions made no sense to be called externally
1 parent 1dbe6fc commit 329775e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

OgreMain/include/OgreTextureGpuManager.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ namespace Ogre
11921192
/// This function CAN be called from any thread
11931193
const String *findResourceGroupStr( IdString idName ) const;
11941194

1195+
protected:
11951196
/// Implements TaskTypeResidencyTransition when doing any of the following transitions:
11961197
/// OnStorage -> Resident
11971198
/// OnStorage -> OnSystemRam
@@ -1206,8 +1207,6 @@ namespace Ogre
12061207
void taskToUnloadOrDestroy( TextureGpu *texture, const ScheduledTasks &task );
12071208
bool executeTask( TextureGpu *texture, TextureGpuListener::Reason reason,
12081209
const ScheduledTasks &task );
1209-
1210-
protected:
12111210
void notifyTextureChanged( TextureGpu *texture, TextureGpuListener::Reason reason,
12121211
bool ignoreDelay );
12131212

0 commit comments

Comments
 (0)