Jelajahi Sumber

Format tweak

Ray 5 bulan lalu
induk
melakukan
3d83c1c796
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/rlgl.h

+ 1 - 1
src/rlgl.h

@@ -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)
         {