    001package net.minecraft.client.renderer;
    002
    003import cpw.mods.fml.relauncher.Side;
    004import cpw.mods.fml.relauncher.SideOnly;
    005import org.lwjgl.opengl.GLContext;
    006
    007@SideOnly(Side.CLIENT)
    008public 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}