]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/newmat.cxx
Updates to allow weather system and atis to interact better.
[flightgear.git] / src / Objects / newmat.cxx
index 9a272d9c2fd572e1332a41f21201409cd14e2dbd..7ac493dea296160ad40c82a552f0bcf1c32ceb1d 100644 (file)
@@ -202,6 +202,15 @@ FGNewMat::build_ssg_state (bool defer_tex_load)
     textured->enable( GL_TEXTURE_2D );
     textured->disable( GL_BLEND );
     textured->disable( GL_ALPHA_TEST );
+#if 0
+#  ifdef GL_EXT_texture_filter_anisotropic
+    float max_anisotropy;
+    glGetFloatv( GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &max_anisotropy );
+    glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT,
+                    max_anisotropy );
+    cout << "Max anisotropy = " << max_anisotropy << endl;
+#  endif
+#endif
     if ( !defer_tex_load ) {
        textured->setTexture( (char *)texture_path.c_str(), wrapu, wrapv );
        texture_loaded = true;