ports/graphics/libgltf/files/patch-src_Shaders.cpp
Jung-uk Kim c2cb9f1eb5 - Fix build with Clang 6.0. [1]
- Fix license and prefer HTTPS for WWW.

PR:		225006 [1]
2018-01-17 20:38:40 +00:00

11 lines
310 B
C++

--- src/Shaders.cpp.orig 2014-10-01 18:31:43 UTC
+++ src/Shaders.cpp
@@ -175,7 +175,7 @@ bool ShaderProgram::compileShader(const char* pShader,
};
const GLint aSizes[] = {
- strlen("#version 130\n"),
+ sizeof("#version 130\n") - 1,
iGLSize,
};