Fix incompatible type.

This commit is contained in:
Themaister 2011-06-29 03:26:21 +02:00
parent bafc4f596f
commit 26ac00ad76

View File

@ -712,8 +712,8 @@ error:
static void print_shader_log(GLuint obj)
{
int info_len = 0;
int max_len;
GLint info_len = 0;
GLint max_len;
pglGetShaderiv(obj, GL_INFO_LOG_LENGTH, &max_len);
@ -726,8 +726,8 @@ static void print_shader_log(GLuint obj)
static void print_linker_log(GLuint obj)
{
int info_len = 0;
int max_len;
GLint info_len = 0;
GLint max_len;
pglGetProgramiv(obj, GL_INFO_LOG_LENGTH, &max_len);