Browse Source

imageprogs: Fix compilation with CMake and STDFLOAT_DOUBLE

rdb 1 year ago
parent
commit
5caace1cdd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pandatool/src/imageprogs/imageFixHiddenColor.cxx

+ 1 - 1
pandatool/src/imageprogs/imageFixHiddenColor.cxx

@@ -104,7 +104,7 @@ run() {
 
   // First, get the average color of all the opaque pixels.
   int count = 0;
-  LRGBColor color(0.0, 0.0, 0.0);
+  LRGBColorf color(0.0, 0.0, 0.0);
   int xi, yi;
   for (yi = 0; yi < _image.get_y_size(); ++yi) {
     for (xi = 0; xi < _image.get_x_size(); ++xi) {