Selaa lähdekoodia

Format tweak

pull/4859/head
Ray 5 päivää sitten
vanhempi
commit
3d83c1c796
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/rlgl.h

+ 1
- 1
src/rlgl.h Näytä tiedosto

@ -3684,7 +3684,7 @@ unsigned char *rlReadScreenPixels(int width, int height)
// Flip image vertically!
// NOTE: Alpha value has already been applied to RGB in framebuffer, we don't need it!
for (int y = height - 1; y >= height / 2; y--)
for (int y = height - 1; y >= height/2; y--)
{
for (int x = 0; x < (width*4); x += 4)
{

Ladataan…
Peruuta
Tallenna