SpectralCascade / Ossium

Ossium is a bare-bones game engine built in C++ with only essential dependencies.

Home Page:https://ossiumengine.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Textures don't work when initialised with pixel manipulation support

SpectralCascade opened this issue · comments

There's currently a crash when attempting to use memcpy() in Texture.cpp (used for pixel manipulation) - for the timebeing I have simply disabled pixel manipulation in that method.

This works now. Think the problem was due to freeing (or not freeing) the temporary SDL_Surface in the wrong place or something, fixed a while back