diff --git a/src/DrawingProgram/DrawingProgramCache.cpp b/src/DrawingProgram/DrawingProgramCache.cpp index 6bff3b9..6634efe 100644 --- a/src/DrawingProgram/DrawingProgramCache.cpp +++ b/src/DrawingProgram/DrawingProgramCache.cpp @@ -230,8 +230,7 @@ void DrawingProgramCache::build_bvh_node_coords_and_resolution(DrawingProgramCac // NOTE: We're assuming that devices using OpenGLES are mobile devices have less VRAM, so we decrease the size of the draw cache // This isn't necessarily true, but it can improve performance on those devices without adding more settings - // Emscripten has less RAM to work with, so this is a good assumption to make - #if defined(__EMSCRIPTEN__) || defined(USE_BACKEND_OPENGLES_3_0) + #if defined(USE_BACKEND_OPENGLES_3_0) const int MAX_DIMENSION_RESOLUTION = 1024; #else const int MAX_DIMENSION_RESOLUTION = 2048;