Marzac / le3d

A straightforward and easy to use 3D software renderer for real-time retro graphics.
https://marzac.github.io/le3d/
MIT License
60 stars 6 forks source link

Random access violations problems with VS #10

Closed Marzac closed 6 years ago

Marzac commented 6 years ago

The executables produced by VS in Release configuration using either of the rasterizers and SIMD configurations randomly crash on startup because of a memory access violation. I suspect an uninitialized variable somewhere.

Marzac commented 6 years ago

It could also be an alignment problem (less sure). I will investigate this.

Marzac commented 6 years ago

Ok I found it, it was a pointer arithmetic error in mipmap calculations.