瀏覽代碼

Format tweak

pull/4859/head
Ray 1 周之前
父節點
當前提交
3d83c1c796
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
{

Loading…
取消
儲存