This test breaks out into raw OpenGL to create a RECTANGLE texture so it needs to be careful not to trample on any state that may be cached by Cogl internally.