Closed Rosalie241 closed 2 years ago
@gonetz I've reworked this PR as discussed in https://github.com/gonetz/GLideN64/issues/2579, please take a look
Thanks! I had several notes, but it was faster to fix them than to write a review :) My fixes:
I uploaded your PR and my fix to branch https://github.com/gonetz/GLideN64/tree/Rosalie241-txMaximumAmountInVram Please check my fixes. May be I missed smth.
This makes the maximum amount of textures loaded in
Textures.cpp
configurable by the user instead of hardcoding it.on systems with little VRAM/RAM lowering this value may help to prevent crashes, it will however cause some stutter when we reach the limit (due to the constant removal of textures, however that seems to stabilize after a little while), but that's better than crashing.