Mercurial > repos > blastem
comparison render_sdl.c @ 2031:0757da8ee702
Fix some stuff that was calling printf directly
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 20 Feb 2021 14:51:45 -0800 |
parents | 193b804c9845 |
children | 46ee354f29bd |
comparison
equal
deleted
inserted
replaced
2030:bcc85f6b06c2 | 2031:0757da8ee702 |
---|---|
404 tex_width = LINEBUF_SIZE; | 404 tex_width = LINEBUF_SIZE; |
405 tex_height = 294; //PAL height with full borders | 405 tex_height = 294; //PAL height with full borders |
406 } else { | 406 } else { |
407 tex_width = tex_height = 512; | 407 tex_width = tex_height = 512; |
408 } | 408 } |
409 printf("Using %dx%d textures\n", tex_width, tex_height); | 409 debug_message("Using %dx%d textures\n", tex_width, tex_height); |
410 for (int i = 0; i < 3; i++) | 410 for (int i = 0; i < 3; i++) |
411 { | 411 { |
412 glBindTexture(GL_TEXTURE_2D, textures[i]); | 412 glBindTexture(GL_TEXTURE_2D, textures[i]); |
413 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filter); | 413 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filter); |
414 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter); | 414 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter); |