make travis' gcc happy
This commit is contained in:
parent
37a7391883
commit
f2c4aaa901
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ extern bool LoadShaders(int direction, char* shadernameOut) {
|
|||
strncpy(shadernameOut, flp[shaderFileToIdx[ShaderIndex]].name.c_str(), 1023);
|
||||
}
|
||||
shaderPath.append(flp[shaderFileToIdx[ShaderIndex]].name);
|
||||
std::ifstream myfile(shaderPath);
|
||||
std::ifstream myfile(shaderPath.c_str());
|
||||
std::string contents((std::istreambuf_iterator<char>(myfile)),
|
||||
std::istreambuf_iterator<char>());
|
||||
myfile.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue