mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 10:59:16 -04:00
b2f504cd19
Baked into the texture rather than applied at draw time: GL_REPEAT tiles edge to edge and has no notion of spacing, so the gap has to exist in the image. 5% transparent margin on each side leaves 10% between neighbours, horizontally and vertically. Padding both axes by the same fraction preserves the aspect, so the tiling maths is unchanged. Falls back to the unpadded image if the allocation fails, rather than dropping the bezel. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>