Mercurial > repos > blastem
changeset 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 | bcc85f6b06c2 |
children | 441d5d6cea2f |
files | nuklear_ui/nuklear_sdl_gles2.h render_sdl.c |
diffstat | 2 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/nuklear_ui/nuklear_sdl_gles2.h Sat Feb 20 12:47:26 2021 -0800 +++ b/nuklear_ui/nuklear_sdl_gles2.h Sat Feb 20 14:51:45 2021 -0800 @@ -166,7 +166,6 @@ glBindTexture(GL_TEXTURE_2D, dev->font_tex); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - printf("Creating texture atlas texture with size %dx%d\n", width, height); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, (GLsizei)width, (GLsizei)height, 0, GL_RGBA, GL_UNSIGNED_BYTE, image); GLenum err = glGetError();
--- a/render_sdl.c Sat Feb 20 12:47:26 2021 -0800 +++ b/render_sdl.c Sat Feb 20 14:51:45 2021 -0800 @@ -406,7 +406,7 @@ } else { tex_width = tex_height = 512; } - printf("Using %dx%d textures\n", tex_width, tex_height); + debug_message("Using %dx%d textures\n", tex_width, tex_height); for (int i = 0; i < 3; i++) { glBindTexture(GL_TEXTURE_2D, textures[i]);