Hi, I'm using PBO texture uploads for a couple of years now - code is working fine. Now I wanted to change my multi PBO, multi Texture approach to using a singular texture as a 2D Atlas.

When I copy one tile into the texture though, I get the result that the copied tile has reduced in height and is copied multiple times in width instead.

This is my scenario:

atlas texture: 5760x1080
tile: 1920x1080

result: attached

original: attached

It looks like the texture is filling a row of a 3x3 array instead of just one tile of a 1x3 array.. the issues scales with the atlas size:
1920x1080 atlas -> no error (tile size = atlas size)
3840x1080 atlas -> expected: 1x2, but actually: 2x2
5760x1080 atlas -> expected: 1x3, but actually: 3x3
and so on..