# HG changeset patch # User Michael Pavone # Date 1613861505 28800 # Node ID 0757da8ee702f700f16b3e909babf646adb2caaa # Parent bcc85f6b06c28d99b0d03d1d34aa3abcbd442ce5 Fix some stuff that was calling printf directly diff -r bcc85f6b06c2 -r 0757da8ee702 nuklear_ui/nuklear_sdl_gles2.h --- 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(); diff -r bcc85f6b06c2 -r 0757da8ee702 render_sdl.c --- 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]);