fix
This commit is contained in:
parent
9fa4dcced6
commit
afa05ca99d
@ -32,11 +32,9 @@ bool assetload::texture(Assets* assets,
|
||||
bool assetload::shader(Assets* assets,
|
||||
const path filename,
|
||||
const string name) {
|
||||
path vertexFile = filename;
|
||||
path fragmentFile = filename;
|
||||
vertexFile.append(".glslv");
|
||||
fragmentFile.append(".glslf");
|
||||
|
||||
path vertexFile = path(filename.string()+".glslv");
|
||||
path fragmentFile = path(filename.string()+".glslf");
|
||||
|
||||
string vertexSource = files::read_string(vertexFile);
|
||||
string fragmentSource = files::read_string(fragmentFile);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user