소스 검색

Replace `size_t` by `unsigned int`

pull/4833/head
Ray 4 일 전
부모
커밋
bd8e59f18d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/rlgl.h

+ 2
- 2
src/rlgl.h 파일 보기

@ -3694,8 +3694,8 @@ unsigned char *rlReadScreenPixels(int width, int height)
{
for (int x = 0; x < (width*4); x += 4)
{
n">size_t s = ((height - 1) - y)*width*4 + x;
n">size_t e = y*width*4 + x;
kt">unsigned int s = ((height - 1) - y)*width*4 + x;
kt">unsigned int e = y*width*4 + x;
unsigned char r = imgData[s];
unsigned char g = imgData[s+1];

불러오는 중...
취소
저장