mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
build fix
This commit is contained in:
parent
54178eafc1
commit
9fa4dcced6
1 changed files with 2 additions and 2 deletions
|
|
@ -31,12 +31,12 @@ bool assetload::texture(Assets* assets,
|
|||
|
||||
bool assetload::shader(Assets* assets,
|
||||
const path filename,
|
||||
const string& name) {
|
||||
const string name) {
|
||||
path vertexFile = filename;
|
||||
path fragmentFile = filename;
|
||||
vertexFile.append(".glslv");
|
||||
fragmentFile.append(".glslf");
|
||||
|
||||
|
||||
string vertexSource = files::read_string(vertexFile);
|
||||
string fragmentSource = files::read_string(fragmentFile);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue