mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 16:39:01 +02:00
- cleanup of masterserver global flag
- attempt to cut down on resources required for masterserver mode to minimize RAM
This commit is contained in:
@@ -15,9 +15,12 @@
|
||||
#include "graphics_factory.h"
|
||||
#include <cstdlib>
|
||||
#include <stdexcept>
|
||||
#include "util.h"
|
||||
|
||||
#include "leak_dumper.h"
|
||||
|
||||
using namespace Shared::Util;
|
||||
|
||||
namespace Shared{ namespace Graphics{
|
||||
|
||||
// =====================================================
|
||||
@@ -25,6 +28,7 @@ namespace Shared{ namespace Graphics{
|
||||
// =====================================================
|
||||
|
||||
ModelManager::ModelManager(){
|
||||
assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);
|
||||
textureManager= NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user