2
0
Эх сурвалжийг харах

MeshBatch : EnableUpdateGpu implicitly set EnableStorageBuffer

TothBenoit 1 жил өмнө
parent
commit
042904b461

+ 1 - 1
h3d/scene/MeshBatch.hx

@@ -338,7 +338,7 @@ class MeshBatch extends MultiMaterial {
 			if ( meshBatchFlags != flags )
 				shadersChanged = true;
 			meshBatchFlags = flags;
-			meshBatchFlags.setTo( EnableStorageBuffer, enableLOD || enableGPUCulling || useStorageBuffer );
+			meshBatchFlags.setTo( EnableStorageBuffer, mustCalcBufferFormat || useStorageBuffer );
 		}
 
 		instanceCount = 0;