RSDKModding / RSDKv3-Decompilation

A Full Decompilation of Sonic CD (2011) & Retro Engine (v3)
Other
591 stars 120 forks source link

Avoid allocating non used textures in SDL #208

Closed fjtrujy closed 1 year ago

fjtrujy commented 1 year ago

Description

Engine.texBuffer and Engine.texBuffer2x are just used when RETRO_USING_OPENGL, so in order to save memory RAM space, these should be just allocated when RETRO_USING_OPENGL as well.

Cheers.