Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
9815d0fb23
2 changed files with 5 additions and 4 deletions
  1. 4 3
      pandatool/src/bam/Sources.pp
  2. 1 1
      pandatool/src/egg-palettize/textureImage.cxx

+ 4 - 3
pandatool/src/bam/Sources.pp

@@ -5,7 +5,7 @@
   #define OTHER_LIBS \
     cull:c loader:c egg:c sgraphutil:c sgattrib:c \
     sgraph:c pnmimagetypes:c \
-    graph:c putil:c express:c panda:m pandaexpress:m \
+    graph:c putil:c linmath:c express:c panda:m pandaexpress:m \
     interrogatedb:c dtoolutil:c dconfig:c dtoolconfig:m dtool:m pystub
   #define UNIX_SYS_LIBS \
     m
@@ -22,8 +22,9 @@
   #define LOCAL_LIBS \
     eggbase progbase
   #define OTHER_LIBS \
-    sgmanip:c loader:c egg2sg:c builder:c egg:c pnmimagetypes:c gobj:c \
-    chan:c graph:c putil:c \
+    sgmanip:c cull:c sgattrib:c sgraph:c dgraph:c \
+    loader:c egg2sg:c builder:c egg:c pnmimagetypes:c gobj:c \
+    chan:c graph:c putil:c linmath:c \
     express:c pandaegg:m panda:m pandaexpress:m \
     interrogatedb:c dtoolutil:c dconfig:c dtoolconfig:m dtool:m pystub
   #define UNIX_SYS_LIBS \

+ 1 - 1
pandatool/src/egg-palettize/textureImage.cxx

@@ -456,7 +456,7 @@ get_preferred_source() {
   }
 
   SourceTextureImage *best = (SourceTextureImage *)NULL;
-  int best_size;
+  int best_size = 0;
 
   for (si = _sources.begin(); si != _sources.end() && !any_referenced; ++si) {
     SourceTextureImage *source = (*si).second;