Fix obs code up for glad, glx only