veeenu / hudhook

A videogame overlay framework written in Rust, supporting DirectX and OpenGL
MIT License
207 stars 30 forks source link

loading more then 8 textures doesn't work #195

Closed asaadmohammed74 closed 3 weeks ago

asaadmohammed74 commented 4 months ago

in the current master with DX12 , when trying to load more then 8 (the initial size of srv_heap) causes a heap resize, but all the textures created after the resize aren't rendered correctly. any textures added before the next resize will not be displayed.

to reproduce simply increase the IMAGE_COUNT in the dx12 test to more then 8

image image image

veeenu commented 4 months ago

Thank you for reporting this!

Probably we aren't transferring the textures from the old srv heap correctly.

veeenu commented 4 months ago

Could you please give #200 a spin? It should solve the issue.