|
@@ -372,6 +372,9 @@ void SpriteBatch::setBatchCulling( const bool batchCulling )
|
|
if ( mBatchCulling == batchCulling )
|
|
if ( mBatchCulling == batchCulling )
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
+ // Set batch culling.
|
|
|
|
+ mBatchCulling = batchCulling;
|
|
|
|
+
|
|
// Create/destroy sprite batch query appropriately.
|
|
// Create/destroy sprite batch query appropriately.
|
|
if ( mBatchCulling )
|
|
if ( mBatchCulling )
|
|
createSpriteBatchQuery();
|
|
createSpriteBatchQuery();
|