Skip to content

Commit

Permalink
Fixed weights and masks not being shown if no texture was found
Browse files Browse the repository at this point in the history
  • Loading branch information
ousnius committed Jul 21, 2015
1 parent 15cb7d1 commit 2e42ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GLSurface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ int GLSurface::InitGLSettings() {
initLighting();
initMaterial(Vector3(0.8f, 0.8f, 0.8f));

noImage = resLoader.AddMaterial("res\\NoImg.png", "res\\defvshader.vs", "res\\defshader.fs");
noImage = resLoader.AddMaterial("res\\NoImg.png", "res\\maskvshader.vs", "res\\defshader.fs");

return 0;
}
Expand Down

0 comments on commit 2e42ef9

Please sign in to comment.