    001    package net.minecraft.client.renderer;
    002
    003    import cpw.mods.fml.relauncher.Side;
    004    import cpw.mods.fml.relauncher.SideOnly;
    005    import org.lwjgl.opengl.GLContext;
    006
    007    @SideOnly(Side.CLIENT)
    008    public class OpenGlCapsChecker
    009    {
    010        /**
    011         * Checks if we support OpenGL occlusion.
    012         */
    013        public static boolean checkARBOcclusion()
    014        {
    015            return GLContext.getCapabilities().GL_ARB_occlusion_query;
    016        }
    017    }