Browse Source

Merge pull request #1147 from BeamNG/templates_frame_allocator_size

Fix torqueConfig.h TORQUE_FRAME_SIZE.
Luis Anton Rebollo 10 years ago
parent
commit
9a0247f780

+ 1 - 1
Templates/Empty/source/torqueConfig.h

@@ -151,7 +151,7 @@
 /// It was previously set to 3MB but I've increased it to 32MB due to the
 /// FrameAllocator being used as temporary storage for bitmaps in the D3D9
 /// texture manager.
-#define TORQUE_FRAME_SIZE     16 << 21
+#define TORQUE_FRAME_SIZE     32 << 20
 
 // Finally, we define some dependent #defines. This enables some subsidiary
 // functionality to get automatically turned on in certain configurations.

+ 1 - 1
Templates/Full/source/torqueConfig.h

@@ -172,7 +172,7 @@
 /// It was previously set to 3MB but I've increased it to 32MB due to the
 /// FrameAllocator being used as temporary storage for bitmaps in the D3D9
 /// texture manager.
-#define TORQUE_FRAME_SIZE     16 << 21
+#define TORQUE_FRAME_SIZE     32 << 20
 
 // Finally, we define some dependent #defines. This enables some subsidiary
 // functionality to get automatically turned on in certain configurations.

+ 2 - 2
Tools/CMake/torqueConfig.h.in

@@ -139,10 +139,10 @@
 
 /// This #define is used by the FrameAllocator to set the size of the frame.
 ///
-/// It was previously set to 3MB but I've increased it to 16MB due to the
+/// It was previously set to 3MB but I've increased it to 32MB due to the
 /// FrameAllocator being used as temporary storage for bitmaps in the D3D9
 /// texture manager.
-#define TORQUE_FRAME_SIZE     16 << 20
+#define TORQUE_FRAME_SIZE     32 << 20
 
 // Finally, we define some dependent #defines. This enables some subsidiary
 // functionality to get automatically turned on in certain configurations.

+ 2 - 2
Tools/dae2dts/source/torqueConfig.h

@@ -143,10 +143,10 @@
 
 /// This #define is used by the FrameAllocator to set the size of the frame.
 ///
-/// It was previously set to 3MB but I've increased it to 16MB due to the
+/// It was previously set to 3MB but I've increased it to 32MB due to the
 /// FrameAllocator being used as temporary storage for bitmaps in the D3D9
 /// texture manager.
-#define TORQUE_FRAME_SIZE     16 << 20
+#define TORQUE_FRAME_SIZE     32 << 20
 
 // Finally, we define some dependent #defines. This enables some subsidiary
 // functionality to get automatically turned on in certain configurations.