mirror of
https://github.com/panda3d/panda3d.git
synced 2026-05-01 20:20:36 -05:00
imageprogs: Fix compilation with CMake and STDFLOAT_DOUBLE
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user