now drawing imagebuffer texture to window