GSL moved from stdafx.h (#1676)

Added GSL.h helper for correct including
This commit is contained in:
Ivan 2016-04-20 02:32:27 +03:00
parent efc8779275
commit 75fe95eeb1
19 changed files with 51 additions and 30 deletions

View file

@ -306,7 +306,7 @@ void GLFragmentProgram::Compile()
id = glCreateShader(GL_FRAGMENT_SHADER);
const char* str = shader.c_str();
const int strlen = gsl::narrow<int>(shader.length());
const int strlen = ::narrow<int>(shader.length());
glShaderSource(id, 1, &str, &strlen);
glCompileShader(id);