Swap the two parameters

This commit is contained in:
Wilhem Barbier
2017-06-28 15:38:34 +02:00
parent 954757532a
commit 3fe268d004
2 changed files with 2 additions and 2 deletions

View File

@@ -554,7 +554,7 @@ void UpdateTexture(Texture2D texture, const void *pixels)
}
// Save image to a PNG file
void SaveImageAs(Image image, const char *fileName)
void SaveImageAs(const char* fileName, Image image)
{
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_RPI)
unsigned char* imgData = (unsigned char*)GetImageData(image); // this works since Color is just a container for the RGBA values