godot/drivers
lawnjelly 491059ca82 GLES2 Batching - Fix texture wrapping state bug.
For textures that were imported as wrapping, the legacy renderer relied on GL repeat state being set as a once off during load, and didn't alter the GL wrapping state at runtime.

Batching was setting wrapping according to the CANVAS_RECT_TILE flag on rects, however this reset GL wrapping to clamp after use, which was conflicting with later drawcalls that relied on the default wrapping being preserved.

In this PR we only set the wrapping in GL if the texture has not been imported with wrapping. This duplicates the logic in the legacy renderer and solves the state bug.
2020-06-23 08:34:17 +01:00
..
alsa SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
alsamidi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
coreaudio SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
coremidi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
dummy SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gl_context SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gles2 GLES2 Batching - Fix texture wrapping state bug. 2020-06-23 08:34:17 +01:00
gles3 Fix wrong internal format for half-float textures 2020-06-15 13:03:13 +02:00
png SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
pulseaudio SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
unix SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
wasapi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
windows SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
winmidi SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
xaudio2 SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
register_driver_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_driver_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00