Log mipmaps error only if mipmaps are enabled

This commit is contained in:
Romain Vimont 2021-02-13 14:32:24 +01:00
parent 862948b132
commit a566635c43

View file

@ -301,7 +301,7 @@ screen_init_rendering(struct screen *screen, const char *window_title,
} else { } else {
LOGI("Trilinear filtering disabled"); LOGI("Trilinear filtering disabled");
} }
} else { } else if (mipmaps) {
LOGD("Trilinear filtering disabled (not an OpenGL renderer)"); LOGD("Trilinear filtering disabled (not an OpenGL renderer)");
} }