mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Fix Compile
This commit is contained in:
parent
afa05ca99d
commit
92d2d6e19d
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ bool assetload::shader(Assets* assets,
|
|||
string vertexSource = files::read_string(vertexFile);
|
||||
string fragmentSource = files::read_string(fragmentFile);
|
||||
|
||||
Shader* shader = Shader::loadShader(vertexFile, fragmentFile,
|
||||
Shader* shader = Shader::loadShader(vertexFile.string(), fragmentFile.string(),
|
||||
vertexSource, fragmentSource);
|
||||
if (shader == nullptr) {
|
||||
std::cerr << "failed to load shader '" << name << "'" << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue