Ver a proveniência

REVIEWED #4206

pull/4233/head
Ray há 10 meses
ascendente
cometimento
5af331d708
2 ficheiros alterados com 2 adições e 2 eliminações
  1. +1
    -1
      src/rlgl.h
  2. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rlgl.h Ver ficheiro

@ -4993,7 +4993,7 @@ static int rlGetPixelDataSize(int width, int height, int format)
default: break;
}
float bytesPerPixel = (float)bpp/8.0f;
double bytesPerPixel = (double)bpp/8.0;
dataSize = (int)(bytesPerPixel*width*height); // Total data size in bytes
// Most compressed formats works on 4x4 blocks,

+ 1
- 1
src/rtextures.c Ver ficheiro

@ -5403,7 +5403,7 @@ int GetPixelDataSize(int width, int height, int format)
default: break;
}
float bytesPerPixel = (float)bpp/8.0f;
double bytesPerPixel = (double)bpp/8.0;
dataSize = (int)(bytesPerPixel*width*height); // Total data size in bytes
// Most compressed formats works on 4x4 blocks,

Carregando…
Cancelar
Guardar