gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
762 stars 175 forks source link

Fix more issues found with Address Sanetizer #2679

Closed fzurita closed 2 years ago

fzurita commented 2 years ago

It seems like there are still some issues being detected by the Address Sanetizer. I took a shot at fixing them. I'm still not too sure about this call:

Rasterize(vdraw, 3, dzdx);

That expects 3 vertices always.

gonetz commented 2 years ago

@fzurita You fix is wrong but thanks to your commit I finally noticed the error in this code. Proper fix: 47b0de1ec1a

fzurita commented 2 years ago

Ok, thanks!