szabolcsdombi / zengl

OpenGL Rendering Pipelines for Python
https://zengl.readthedocs.io/
MIT License
176 stars 10 forks source link

Image blit improvements #48

Closed szabolcsdombi closed 10 months ago

szabolcsdombi commented 11 months ago

We should clamp internally the bilitting viewports and ignore "out of bounds" viewports entirely without an error.

szabolcsdombi commented 10 months ago

this cannot be implemented because it is possible to scale the image during the blit, resulting non integer coordinates after clipping. this would only be possible if the input and output sizes match.