-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -202,14 +202,9 @@ static void SetupMetalWindowListeners( Ogre::MetalWindow *metalWindow, NSWindow | ||||||||||||||||
assert( rs ); | |||||||||||||||||
const RenderSystemCapabilities *capabilities = rs->getCapabilities(); | |||||||||||||||||
bool isTiler = capabilities->hasCapability( RSC_IS_TILER ); | |||||||||||||||||
if( isTiler ) | |||||||||||||||||
{ | |||||||||||||||||
ConfigOptionMap &options = rs->getConfigOptions(); | |||||||||||||||||
Ogre::ConfigOptionMap::iterator opt = options.find( "WindowMemoryless" ); | |||||||||||||||||
if( opt != options.end() ) | |||||||||||||||||
isTiler = opt->second.currentValue == "Yes"; | |||||||||||||||||
} | |||||||||||||||||
if( isTiler ) | |||||||||||||||||
TextureGpuManager *textureGpuManager = rs->getTextureGpuManager(); | |||||||||||||||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
eugenegff
Author
Member
|
Opt in/out? | is Tiler? | bAllowMemoryless |
---|---|---|
IN | YES | true |
OUT | YES | false |
IN | NO | false |
OUT | NO | false |
This comment has been minimized.
This comment has been minimized.
Sorry, something went wrong.
bAllowMemoryless must be false if RSC_IS_TILER is not set.
Perhaps there is a problem with the order in which things are initialized? (e.g. TextureGpuManager::setAllowMemoryless gets called after window initialization?)