瀏覽代碼

Turn off gl-immutable-texture-storage by default (it seems to cause trouble on NVIDIA cards, which demand a sized internal format be used)

rdb 11 年之前
父節點
當前提交
cea09d4b9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/glstuff/glmisc_src.cxx

+ 1 - 1
panda/src/glstuff/glmisc_src.cxx

@@ -209,7 +209,7 @@ ConfigVariableBool gl_dump_compiled_shaders
             "into the current directory."));
             "into the current directory."));
 
 
 ConfigVariableBool gl_immutable_texture_storage
 ConfigVariableBool gl_immutable_texture_storage
-  ("gl-immutable-texture-storage", true,
+  ("gl-immutable-texture-storage", false,
    PRC_DESC("This configures Panda to pre-allocate immutable storage "
    PRC_DESC("This configures Panda to pre-allocate immutable storage "
             "for each texture.  This improves runtime performance, but "
             "for each texture.  This improves runtime performance, but "
             "changing the size or type of a texture will be slower."));
             "changing the size or type of a texture will be slower."));