openGL: More debug info.

Change-Id: Ia2e09c92673b97fd48c4ede7ebb9ff47da821926