mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge pull request #31 from mks14stdio/main
Решение ошибки компиляции (Windows 10 Visual Studio 2022)
This commit is contained in:
commit
209acd257c
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