diff --git a/kraken/KREngine.mm b/kraken/KREngine.mm index d8fd905..7b60659 100755 --- a/kraken/KREngine.mm +++ b/kraken/KREngine.mm @@ -88,7 +88,6 @@ void kraken::set_debug_text(const std::string &print_text) } - KRContext::KRENGINE_MAX_SHADER_HANDLES = 1000; KRContext::KRENGINE_MAX_TEXTURE_DIM = 2048; KRContext::KRENGINE_MIN_TEXTURE_DIM = 64; KRContext::KRENGINE_PRESTREAM_DISTANCE = 1000.0f; @@ -103,13 +102,11 @@ void kraken::set_debug_text(const std::string &print_text) BOOL isIpad = UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad; BOOL isRetina = [[UIScreen mainScreen] scale] >= 2.0; if(isIpad && isRetina) { - KRContext::KRENGINE_MAX_SHADER_HANDLES = 100; KRContext::KRENGINE_GPU_MEM_MAX = 64000000 * 2; KRContext::KRENGINE_GPU_MEM_TARGET = 48000000 * 2; KRContext::KRENGINE_MAX_TEXTURE_DIM = 2048; KRContext::KRENGINE_MIN_TEXTURE_DIM = 64; } else { - KRContext::KRENGINE_MAX_SHADER_HANDLES = 100; KRContext::KRENGINE_GPU_MEM_MAX = 64000000; KRContext::KRENGINE_GPU_MEM_TARGET = 48000000; KRContext::KRENGINE_MAX_TEXTURE_DIM = 2048; @@ -117,7 +114,6 @@ void kraken::set_debug_text(const std::string &print_text) } */ #else - KRContext::KRENGINE_MAX_SHADER_HANDLES = 4000; KRContext::KRENGINE_GPU_MEM_MAX = 256000000; KRContext::KRENGINE_GPU_MEM_TARGET = 192000000; KRContext::KRENGINE_MAX_TEXTURE_DIM = 8192;