OpenGL/Direct3D 2D game engine