Esempio n. 1
0
 static void CheckTextureRectangle()
 {
     if (Glut.glutExtensionSupported("GL_EXT_texture_rectangle") == 0)
     {
         haveTextRectangle = false;
     }
 }
Esempio n. 2
0
        static void CheckMultiSampling()
        {
            int s;

            Gl.glGetIntegerv(WGL_SAMPLES_ARB, out s);
            if (Glut.glutExtensionSupported("GL_ARB_multisample") != 0 || s < 1)
            {
                haveMultisample = false;
            }
        }
Esempio n. 3
0
 static void CheckAnisotropicFiltering()
 {
     if (Glut.glutExtensionSupported("GL_EXT_texture_filter_anisotropic") == 0)
     {
         haveAnisotropicFiltering = false;
     }
     else
     {
         haveAnisotropicFiltering = true;
     }
 }