diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-15 21:16:10 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-15 21:16:10 -0600 |
commit | 2263acad65be7c881e81f2dc845d4acaefb9603e (patch) | |
tree | ab17f388a8743b7440bd14e99507859bbad6dc34 /src | |
parent | 71dc88f9379f379ee0287b1ef2b62c57c6445099 (diff) |
remove spurious debug message
Diffstat (limited to 'src')
-rw-r--r-- | src/texture.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/texture.c b/src/texture.c index 2bcc1e2..32240c6 100644 --- a/src/texture.c +++ b/src/texture.c @@ -385,10 +385,8 @@ static void configure_mag_filter(lua_State* L, void* data) honey_texture_params* params = (honey_texture_params*) data; const char* str = lua_tostring(L, -1); - if (strcmp(str, "nearest") == 0) { - printf("MAG FILTER NEAREST\n"); + if (strcmp(str, "nearest") == 0) params->mag_filter = GL_NEAREST; - } else if (strcmp(str, "linear") == 0) params->mag_filter = GL_LINEAR; else |