Skip to content
Snippets Groups Projects
Forked from STJr / SRB2
Source project has a limited visibility.
Sryder's avatar
Sryder authored
Only use glCopyTexImage2D when first creating the screen texture, use glCopyTexSubImage2D anytime after that as it does not define a new texture each time.
Flushing of the screen textures has been implemented for when the screen size changes (so that the screen textures don't stay at a wrong size) and the game is closed, I believe they would leave a memory leak before.
77af3a8f
History
Name Last commit Last update
..