SDL2 implementation. Problem with VideoMemory. Fix required