More fixes for Code/Editor

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-13 16:05:20 -07:00
parent 1d4c53a777
commit 5f7b534afd
66 changed files with 185 additions and 202 deletions
+2 -2
View File
@@ -55,9 +55,9 @@ bool CImageASC::Save(const QString& fileName, const CFloatImage& image)
fprintf(file, fileHeader.c_str());
// Then print all the pixels.
for (int y = 0; y < height; y++)
for (uint32 y = 0; y < height; y++)
{
for (int x = 0; x < width; x++)
for (uint32 x = 0; x < width; x++)
{
fprintf(file, "%.7f ", pixels[x + y * width]);
}