From 2e42ef965b5d06d5a721c517dda22721a6c6f6bf Mon Sep 17 00:00:00 2001 From: ousnius Date: Tue, 21 Jul 2015 18:40:51 +0200 Subject: [PATCH] Fixed weights and masks not being shown if no texture was found --- GLSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GLSurface.cpp b/GLSurface.cpp index afd0f9e4..e66bb509 100644 --- a/GLSurface.cpp +++ b/GLSurface.cpp @@ -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; }