Maybe this fixes the problem of issue #27
The Image class don't have own RenderStates because it has a own texture and there might be more to do (maybe add custom render states to set, save them in an std::vector<std::pair<uint32_t, uint32_t>> and apply them also after the normal ones).
Also you should check for bugs (even if its rendering correctly in the picture below), maybe you see one.
Maybe this fixes the problem of issue #27 The Image class don't have own RenderStates because it has a own texture and there might be more to do (maybe add custom render states to set, save them in an
std::vector<std::pair<uint32_t, uint32_t>>
and apply them also after the normal ones).Also you should check for bugs (even if its rendering correctly in the picture below), maybe you see one.