mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Optimize include files to improve shader_language.h compilation speed
This commit is contained in:
parent
d9f6e33663
commit
422f7b280f
9 changed files with 9 additions and 9 deletions
|
|
@ -3914,7 +3914,7 @@ void VisualShaderEditor::_preview_size_changed() {
|
|||
|
||||
static ShaderLanguage::DataType _get_global_variable_type(const StringName &p_variable) {
|
||||
RS::GlobalVariableType gvt = RS::get_singleton()->global_variable_get_type(p_variable);
|
||||
return RS::global_variable_type_get_shader_datatype(gvt);
|
||||
return (ShaderLanguage::DataType)RS::global_variable_type_get_shader_datatype(gvt);
|
||||
}
|
||||
|
||||
void VisualShaderEditor::_update_preview() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue