CR corrections.

This commit is contained in:
NissimHadar 2019-04-23 13:27:21 -07:00
parent ec69fd38eb
commit 6f4ee601fb
2 changed files with 2 additions and 2 deletions

View file

@ -201,7 +201,7 @@ int TestScriptingInterface::getOtherAvatarsReplicaCount() {
} }
void TestScriptingInterface::setMinimumGPUTextureMemStabilityCount(int count) { void TestScriptingInterface::setMinimumGPUTextureMemStabilityCount(int count) {
qApp->setMinimumGPUTextureMemStabilityCount(count); QMetaObject::invokeMethod(qApp, "gpuTextureMemSizeStable", Qt::DirectConnection, Q_ARG(int, count));
} }
bool TestScriptingInterface::isTextureLoadingComplete() { bool TestScriptingInterface::isTextureLoadingComplete() {

View file

@ -173,7 +173,7 @@ public slots:
/**jsdoc /**jsdoc
* Check whether all textures have been loaded. * Check whether all textures have been loaded.
* @function Entities.isTextureLoadingComplete * @function Entities.isTextureLoadingComplete
* @returns {boolean} <code>true</code> texture memory usage is not increasing <code>false</code>. * @returns {boolean} <code>true</code> texture memory usage is not increasing
*/ */
Q_INVOKABLE bool isTextureLoadingComplete(); Q_INVOKABLE bool isTextureLoadingComplete();