Example render particle system into a texture (SDL, OpenGL, C++11)