mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
GSL moved from stdafx.h (#1676)
Added GSL.h helper for correct including
This commit is contained in:
parent
efc8779275
commit
75fe95eeb1
19 changed files with 51 additions and 30 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue