Changed triangle to quad.
Fixed errors in regards to texture generation.

Could not get glGenerateMipmap working, if that is added
the program just crashes.
Changed from OpenGL ES 2.0 to OpenGL 3.0.
Added mipmap generation with glGenerateMipmaps.