Browse Source

Change max vertices to 65534 to avoid conflict with strip cut index

rdb 11 years ago
parent
commit
6d6a4398c6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/egg2pg/config_egg2pg.cxx
  2. 1 1
      panda/src/pgraph/config_pgraph.cxx

+ 1 - 1
panda/src/egg2pg/config_egg2pg.cxx

@@ -145,7 +145,7 @@ ConfigVariableEnum<EggRenderMode::AlphaMode> egg_alpha_mode
           "or because of a four-channel texture."));
 
 ConfigVariableInt egg_max_vertices
-("egg-max-vertices", 65535,
+("egg-max-vertices", 65534,
  PRC_DESC("Specifies the maximum number of vertices that will be "
           "added to any one GeomVertexData by the egg loader."));
 

+ 1 - 1
panda/src/pgraph/config_pgraph.cxx

@@ -265,7 +265,7 @@ ConfigVariableBool depth_offset_decals
           "their depth offset implementation."));
 
 ConfigVariableInt max_collect_vertices
-("max-collect-vertices", 65535,
+("max-collect-vertices", 65534,
  PRC_DESC("Specifies the maximum number of vertices that are allowed to be "
           "accumulated into any one GeomVertexData structure as a result "
           "of collecting objects together during a flatten operation.  "