ecere/gfx/OpenGL: Fixes for basic 2D and 3D support without VBOs