Add user preference "GPU Mipmap Generation" under the System/OpenGL
[blender.git] / source / blender / windowmanager / intern / wm_init_exit.c
index ab377d53ec747fcda3837b35c46b5f09529f06c7..c82cae8ac926bcf260a80ba02c847b4a3bc30e61 100644 (file)
@@ -178,7 +178,8 @@ void WM_init(bContext *C, int argc, const char **argv)
                GPU_extensions_init();
                GPU_set_mipmap(!(U.gameflags & USER_DISABLE_MIPMAP));
                GPU_set_anisotropic(U.anisotropic_filter);
-       
+               GPU_set_gpu_mipmapping(U.use_gpu_mipmap);
+
                UI_init();
        }