View Issue Details

IDProjectCategoryView StatusLast Update
0000020BooBooGeneralpublic2025-12-29 23:43
Reportertremblin Assigned Totremblin  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000020: make set_viewport like set_scissor
DescriptionSince it's very difficult to compute a scissor rectangle when you can have letterbox and scaling, right now the set_scissor does it for you and the coordinates you supply to it are buffer/game coordinates not window coordinates, and it accounts for letterbox/scaling.

But set_viewport doesn't. I think since the scissor cannot be set outside the letterbox now, set_viewport is only useful within the buffer anyway, so make it's coordinates buffer/game coordinates instead of direct->OpenGL coordinates. I tried and since the scissor can't be set outside the letterbox, setting the viewport over the letterbox shows the letterbox because everything else is scissored out. So since there's no way to draw outside the letterbox, might as well simplify it for setting a viewport within the letterbox.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-12-29 22:51 tremblin New Issue
2025-12-29 22:52 tremblin Assigned To => tremblin
2025-12-29 22:52 tremblin Status new => assigned
2025-12-29 23:43 tremblin Status assigned => resolved
2025-12-29 23:43 tremblin Resolution open => fixed