dungeon_crawler

diff prototype/psys/psys_gl.c @ 69:45172d087ebe

fixed some windows compatibility crap fixed a terrible stack overrun in psys (TODO: remember to fix in libpsys too)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 07 Oct 2012 03:42:44 +0200
parents 2560a7ab0243
children
line diff
     1.1 --- a/prototype/psys/psys_gl.c	Sun Oct 07 02:05:11 2012 +0300
     1.2 +++ b/prototype/psys/psys_gl.c	Sun Oct 07 03:42:44 2012 +0200
     1.3 @@ -84,7 +84,7 @@
     1.4  	if(!(pixels = img_load_pixels(fname, &xsz, &ysz, IMG_FMT_RGBA32))) {
     1.5  		return 0;
     1.6  	}
     1.7 -	printf("%s: creating texture %s (%dx%d)\n", __func__, fname, xsz, ysz);
     1.8 +	printf("%s: creating texture %s (%dx%d)\n", __FUNCTION__, fname, xsz, ysz);
     1.9  
    1.10  	glGenTextures(1, &tex);
    1.11  	glBindTexture(GL_TEXTURE_2D, tex);