opengl: Another places where it is too eager to check for errors.

Change-Id: Ib6ca3d653f3fd1155bce418226146934e765928d