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:
Mike Erwin
2017-06-07 16:28:24 -04:00
parent 179bb97740
commit bfa5efeebe

View File

@@ -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);