invisible

changeset 20:38bf3eec0fac

fixed false return
author Eleni Maria Stea <eleni@mutantstargoat.com>
date Sun, 10 Nov 2013 14:03:37 +0200
parents f756fc9fdd3e
children 53fe01a4e2f3
files src/sdr.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/sdr.cc	Sun Nov 10 14:02:36 2013 +0200
     1.2 +++ b/src/sdr.cc	Sun Nov 10 14:03:37 2013 +0200
     1.3 @@ -94,7 +94,7 @@
     1.4  	glGetProgramInfoLog(sprog, sizeof infolog, &loglen, infolog);
     1.5  	if(status == GL_FALSE) {
     1.6  		fprintf(stderr, "Error while linking shader program:\n%s\n", infolog);
     1.7 -		return false;
     1.8 +		return 0;
     1.9  	} else if(loglen) {
    1.10  		fprintf(stderr, "%s\n", infolog);
    1.11  	}