From 0ed341cd1e5c9cd3feb4a812946f8a2f06f92a0f Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Thu, 29 Feb 2024 11:01:56 +0800 Subject: [PATCH] Change shader compiler default setting to avoid doctool error --- servers/rendering/shader_compiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/rendering/shader_compiler.h b/servers/rendering/shader_compiler.h index e0ec42a4d11..66106d7eb73 100644 --- a/servers/rendering/shader_compiler.h +++ b/servers/rendering/shader_compiler.h @@ -91,8 +91,8 @@ public: HashMap render_mode_defines; HashMap usage_defines; HashMap custom_samplers; - ShaderLanguage::TextureFilter default_filter = ShaderLanguage::TextureFilter::FILTER_DEFAULT; - ShaderLanguage::TextureRepeat default_repeat = ShaderLanguage::TextureRepeat::REPEAT_DEFAULT; + ShaderLanguage::TextureFilter default_filter = ShaderLanguage::TextureFilter::FILTER_NEAREST; + ShaderLanguage::TextureRepeat default_repeat = ShaderLanguage::TextureRepeat::REPEAT_DISABLE; int base_texture_binding_index = 0; int texture_layout_set = 0; String base_uniform_string;