Skip to content

Commit d3a1a9c

Browse files
committed
OpenGL: Fix warning
1 parent 352456e commit d3a1a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/opengl/gles2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ bool mGLES2ShaderLoad(struct VideoShader* shader, struct VDir* dir) {
11001100
struct mGLES2Shader* shaderBlock = calloc(inShaders, sizeof(struct mGLES2Shader));
11011101
int n;
11021102
for (n = 0; n < inShaders; ++n) {
1103-
char passName[12];
1103+
char passName[16];
11041104
snprintf(passName, sizeof(passName), "pass.%u", n);
11051105
const char* fs = ConfigurationGetValue(&description, passName, "fragmentShader");
11061106
const char* vs = ConfigurationGetValue(&description, passName, "vertexShader");

0 commit comments

Comments
 (0)