aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/draw.c
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2020-04-20 14:17:53 +0200
committerPierre-Eric Pelloux-Prayer <[email protected]>2020-05-05 09:40:29 +0200
commit12fb7d700861fb0af639fa21c1e3b65981ee81e4 (patch)
treed5de2c24411787ee79efd3b19e7a612936ef9c46 /src/mesa/main/draw.c
parent90d9f9a37ed6a84292a96a247f70ffeb88a2ccde (diff)
mesa: add gl_coontext::ForceIntegerTexNearest
Some applications incorrectly use GL_LINEAR* values for integers texture. copyimage.c already implemented a tolerance for such app in prepare_target_err. This commit adds a boolean that will treat GL_LINEAR* filters as GL_NEAREST for integer textures. CC: 20.1 <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4647>
Diffstat (limited to 'src/mesa/main/draw.c')
0 files changed, 0 insertions, 0 deletions