mirror of
https://github.com/raysan5/raylib.git
synced 2026-11-25 09:01:47 -05:00
Compare commits
3 Commits
c0921587c3
...
c757c7435a
| Author | SHA1 | Date | |
|---|---|---|---|
| c757c7435a | |||
| b9758a6403 | |||
| 426d656185 |
@ -689,6 +689,6 @@ Make sure to check raylib [CHANGELOG](https://github.com/raysan5/raylib/blob/mas
|
||||
|
||||
Again, I want to **thank all the contributors (+950!**) that helped improving raylib, this time there have been **more than 100 new contributors** sending fixes and improvements!
|
||||
|
||||
After 13 years of development, `raylib 6.2` is today probably one of the bests libraries to enjoy **games/tools/graphics/AI programming!**
|
||||
After 13 years of development, `raylib 6.2` is today probably one of the best libraries to enjoy **games/tools/graphics/AI programming!**
|
||||
|
||||
**Hope you keep enjoying programming with raylib!** :)
|
||||
|
||||
@ -2198,6 +2198,7 @@ int InitPlatform(void)
|
||||
|
||||
// NOTE: No need to call InitTimer(), let SDL manage it internally
|
||||
//----------------------------------------------------------------------------
|
||||
CORE.Time.previous = 0.0;
|
||||
|
||||
// Initialize storage system
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@ -512,7 +512,7 @@ Image LoadImageFromMemory(const char *fileType, const unsigned char *fileData, i
|
||||
if (fileData != NULL)
|
||||
{
|
||||
qoi_desc desc = { 0 };
|
||||
image.data = qoi_decode(fileData, dataSize, &desc, (int) fileData[12]);
|
||||
image.data = qoi_decode(fileData, dataSize, &desc, 0); // NOTE: Using channels from file data
|
||||
image.width = desc.width;
|
||||
image.height = desc.height;
|
||||
image.format = (desc.channels == 4)? PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 : PIXELFORMAT_UNCOMPRESSED_R8G8B8;
|
||||
|
||||
Reference in New Issue
Block a user