Skip to content

Add force_integer_tex_nearest workaround

Some applications incorrectly use GL_LINEAR* values for integers texture. copyimage.c already implemented a tolerance for such app in prepare_target_err().

This first commit adds a boolean that will treat GL_LINEAR* filters as GL_NEAREST for integer textures.

The second enables the workaround for 2 games (see #1258 (closed)).

Merge request reports