mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Merge branch 'main' of https://github.com/clasher113/VoxelEngine-Cpp
This commit is contained in:
commit
fcc874a20f
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ bool assetload::shader(Assets* assets,
|
|||
const ResPaths* paths,
|
||||
const std::string filename,
|
||||
const std::string name) {
|
||||
fs::path vertexFile = paths->find(filename+".glslv");
|
||||
fs::path fragmentFile = paths->find(filename+".glslf");
|
||||
fs::path vertexFile = paths->find(filename+".glslv");
|
||||
fs::path fragmentFile = paths->find(filename+".glslf");
|
||||
|
||||
std::string vertexSource = files::read_string(vertexFile);
|
||||
std::string fragmentSource = files::read_string(fragmentFile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue