kvark / vange-rs

Rusty Vangers clone
https://vange.rs
Apache License 2.0
420 stars 21 forks source link

FFI: rv_render: viewport rect is not handled correctly #195

Closed lpenguin closed 2 years ago

lpenguin commented 2 years ago

It doesn't render a center of the view into the viewport and behaves more like a scissors.

One can reproduce this bug in rv_ffi (commit https://github.com/lpenguin/rv_ffi/commit/9564839641c8ae3fa45541f35d22fb4dd3259eed). Use arrow keys to modify the viewport.

Full rect viewport изображение Half rect viewport изображение

kvark commented 2 years ago

Thanks for the issue! Fixed in 481e549a22331a5b71bcffd00d978c46ae3c85ef