491059ca82
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. |
||
---|---|---|
.. | ||
alsa | ||
alsamidi | ||
coreaudio | ||
coremidi | ||
dummy | ||
gl_context | ||
gles2 | ||
gles3 | ||
png | ||
pulseaudio | ||
unix | ||
wasapi | ||
windows | ||
winmidi | ||
xaudio2 | ||
register_driver_types.cpp | ||
register_driver_types.h | ||
SCsub |