SDL2 with OpenGL -- weird results, what 's wrong?

Please reply to my issue
here:*http://gamedev.stackexchange.com/questions/40249/sdl2-with-opengl-weird-results-whats-wrong