mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
REVIEWED: GetTextureData(), allow retrieving 32bit float data
This commit is contained in:
@ -2835,7 +2835,7 @@ Image GetTextureData(Texture2D texture)
|
||||
{
|
||||
Image image = { 0 };
|
||||
|
||||
if (texture.format < 8)
|
||||
if (texture.format < COMPRESSED_DXT1_RGB)
|
||||
{
|
||||
image.data = rlReadTexturePixels(texture);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user