icculus / mojoshader

Use Direct3D shaders with other 3D rendering APIs.
https://icculus.org/mojoshader/
zlib License
150 stars 37 forks source link

vulkan: Fix off-by-one error resulting in spurious set_error calls #59

Closed TheSpydog closed 1 year ago

TheSpydog commented 1 year ago

Fixes a bug where the error would be set incorrectly whenever ctx->frameIndex == 0.