fix shaders on osx

This commit is contained in:
2019-02-22 03:18:37 +01:00
parent eab6e68534
commit b6cdc3193d
3 changed files with 8 additions and 6 deletions

View File

@@ -147,6 +147,8 @@ bool Shader::reload()
destroy();
return load(m_path);
}
return false;
}
bool Shader::create(const char* vertex, const char* fragment)