* merged
This commit is contained in:
parent
1ee349e1fb
commit
a86d4e5d92
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ namespace endofthejedi {
|
||||||
GLint result = 0;
|
GLint result = 0;
|
||||||
|
|
||||||
glGetShaderiv(shader, GL_COMPILE_STATUS, &result);
|
glGetShaderiv(shader, GL_COMPILE_STATUS, &result);
|
||||||
|
|
||||||
if (result == GL_FALSE) {
|
if (result == GL_FALSE) {
|
||||||
glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &len);
|
glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &len);
|
||||||
char *error = (char *)malloc(len+1);
|
char *error = (char *)malloc(len+1);
|
||||||
|
|
Loading…
Reference in a new issue