diff options
-rw-r--r-- | nuklear_ui/nuklear_sdl_gles2.h | 1 | ||||
-rwxr-xr-x | render_sdl.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/nuklear_ui/nuklear_sdl_gles2.h b/nuklear_ui/nuklear_sdl_gles2.h index d7f2151..639e2de 100644 --- a/nuklear_ui/nuklear_sdl_gles2.h +++ b/nuklear_ui/nuklear_sdl_gles2.h @@ -166,7 +166,6 @@ nk_sdl_device_upload_atlas(const void *image, int width, int height) 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 --git a/render_sdl.c b/render_sdl.c index 4099d5d..c0fe585 100755 --- a/render_sdl.c +++ b/render_sdl.c @@ -406,7 +406,7 @@ static void gl_setup() } 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]); |