Files
godot/core
Theogen Ratkin 8f6a6ac8d0 Add interpolation parameter to resize_to_po2()
Image::resize_to_po2() now takes an optional p_interpolation parameter
that it passes directly to resize() with default value INTERPOLATE_BILINEAR.

GLES2: call resize_to_po2() with interpolate argument

Call resize_to_po2() in GLES2 rasterizer storage with either
INTERPOLATE_BILINEAR or INTERPOLATE_NEAREST depending on TEXTURE_FLAG_FILTER.

This avoids filtering issues with non power of two pixel art textures.
See #44379
2020-12-18 14:02:38 -04:00
..
2020-12-09 11:36:58 +01:00
2020-11-11 15:30:57 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-09-24 14:43:10 +02:00
2020-01-01 11:16:22 +01:00
2020-09-18 14:09:51 +02:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00