Fix MSVC compile (T51740)
Gawain doesn't include Blender's cross-platform "inline" definition. This change slipped in as part of D2697.
This commit is contained in:
@@ -61,7 +61,7 @@ static unsigned hash_string(const char *str)
|
||||
return i;
|
||||
}
|
||||
|
||||
static inline void set_input_name(ShaderInput* input, const char* name)
|
||||
static void set_input_name(ShaderInput* input, const char* name)
|
||||
{
|
||||
input->name = name;
|
||||
input->name_hash = hash_string(name);
|
||||
|
||||
Reference in New Issue
Block a user