summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/compressed_translation.cpp8
-rw-r--r--drivers/gles2/shader_gles2.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/core/compressed_translation.cpp b/core/compressed_translation.cpp
index 45fd4b5080..3f668dfade 100644
--- a/core/compressed_translation.cpp
+++ b/core/compressed_translation.cpp
@@ -410,15 +410,15 @@ bool PHashTranslation::_set(const StringName& p_name, const Variant& p_value) {
String name = p_name.operator String();
if (name=="hash_table") {
hash_table=p_value;
- print_line("translation: loaded hash table of size: "+itos(hash_table.size()));
+ //print_line("translation: loaded hash table of size: "+itos(hash_table.size()));
} else if (name=="bucket_table") {
bucket_table=p_value;
- print_line("translation: loaded bucket table of size: "+itos(bucket_table.size()));
+ //print_line("translation: loaded bucket table of size: "+itos(bucket_table.size()));
} else if (name=="strings") {
strings=p_value;
- print_line("translation: loaded string table of size: "+itos(strings.size()));
+ //print_line("translation: loaded string table of size: "+itos(strings.size()));
} else if (name=="load_from") {
- print_line("generating");
+ //print_line("generating");
generate(p_value);
} else
return false;
diff --git a/drivers/gles2/shader_gles2.cpp b/drivers/gles2/shader_gles2.cpp
index e94930fffb..201b1262b5 100644
--- a/drivers/gles2/shader_gles2.cpp
+++ b/drivers/gles2/shader_gles2.cpp
@@ -739,12 +739,12 @@ void ShaderGLES2::set_custom_shader(uint32_t p_code_id) {
void ShaderGLES2::free_custom_shader(uint32_t p_code_id) {
- if (! custom_code_map.has( p_code_id )) {
+ /* if (! custom_code_map.has( p_code_id )) {
print_line("no code id "+itos(p_code_id));
} else {
print_line("freed code id "+itos(p_code_id));
- }
+ }*/
ERR_FAIL_COND(! custom_code_map.has( p_code_id ));
if (conditional_version.code_version==p_code_id)