switched initialization of renderbuffers and textures to use vectors
instead of x y