From 79ef5f92a95f6dcb8c10420484e7de23313ce271 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 5 Feb 2018 11:30:50 +0100 Subject: [PATCH] Remove a few debugging prints (cherry picked from commit 84267915f50559ebc555c88fa90713596a74e918) --- drivers/gles3/rasterizer_scene_gles3.cpp | 2 -- servers/arvr_server.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/gles3/rasterizer_scene_gles3.cpp b/drivers/gles3/rasterizer_scene_gles3.cpp index da6df7198d8..d1892eb1e8b 100644 --- a/drivers/gles3/rasterizer_scene_gles3.cpp +++ b/drivers/gles3/rasterizer_scene_gles3.cpp @@ -4916,7 +4916,6 @@ void RasterizerSceneGLES3::initialize() { const int ubo_light_size = 160; state.ubo_light_size = ubo_light_size; state.max_ubo_lights = MIN(RenderList::MAX_LIGHTS, max_ubo_size / ubo_light_size); - print_line("GLES3: max ubo light: " + itos(state.max_ubo_lights)); state.spot_array_tmp = (uint8_t *)memalloc(ubo_light_size * state.max_ubo_lights); state.omni_array_tmp = (uint8_t *)memalloc(ubo_light_size * state.max_ubo_lights); @@ -4942,7 +4941,6 @@ void RasterizerSceneGLES3::initialize() { state.scene_shader.add_custom_define("#define MAX_FORWARD_LIGHTS " + itos(state.max_forward_lights_per_object) + "\n"); state.max_ubo_reflections = MIN(RenderList::MAX_REFLECTIONS, max_ubo_size / sizeof(ReflectionProbeDataUBO)); - print_line("GLES3: max ubo reflections: " + itos(state.max_ubo_reflections) + ", ubo size: " + itos(sizeof(ReflectionProbeDataUBO))); state.reflection_array_tmp = (uint8_t *)memalloc(sizeof(ReflectionProbeDataUBO) * state.max_ubo_reflections); diff --git a/servers/arvr_server.cpp b/servers/arvr_server.cpp index d373a7d6f50..8620b182df1 100644 --- a/servers/arvr_server.cpp +++ b/servers/arvr_server.cpp @@ -143,8 +143,6 @@ void ARVRServer::add_interface(const Ref &p_interface) { }; }; - print_line("ARVR: Registered interface: " + p_interface->get_name()); - interfaces.push_back(p_interface); emit_signal("interface_added", p_interface->get_name()); };