Restricted things to OpenGL