SamWibatt / GameTree

MIGRATING TO GITLAB Platform independent C++11 object library for game development
GNU General Public License v3.0
0 stars 0 forks source link

make SFMLMap override GTMAP's get_from_json #11

Closed SamWibatt closed 4 years ago

SamWibatt commented 4 years ago

So as to be able to read the image data, convert it immediately to a texture via decoded png, then get rid of decoded png and base64 image data bc those are chonky

SamWibatt commented 4 years ago

Actually not sure that's necessary; gtmap already decodes the png data, and currently SFMLmap empties the image data array once it's done, so calling it good