    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.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    }