mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 19:38:15 +00:00
Corrected issue with variable name
This commit is contained in:
@@ -261,9 +261,9 @@ Image LoadImage(const char *fileName)
|
|||||||
|
|
||||||
image.mipmaps = 1;
|
image.mipmaps = 1;
|
||||||
|
|
||||||
if (imgBpp == 1) image.format = UNCOMPRESSED_R32;
|
if (comp == 1) image.format = UNCOMPRESSED_R32;
|
||||||
else if (imgBpp == 3) image.format = UNCOMPRESSED_R32G32B32;
|
else if (comp == 3) image.format = UNCOMPRESSED_R32G32B32;
|
||||||
else if (imgBpp == 4) image.format = UNCOMPRESSED_R32G32B32A32;
|
else if (comp == 4) image.format = UNCOMPRESSED_R32G32B32A32;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TRACELOG(LOG_WARNING, "[%s] HDR Image fileformat not supported", fileName);
|
TRACELOG(LOG_WARNING, "[%s] HDR Image fileformat not supported", fileName);
|
||||||
|
Reference in New Issue
Block a user