Changed to GLSL version 130, and changed glFrameBufferTexture to ...Texture2D