fix gif recording
This commit is contained in:
1 parent
5164628b6b
commit
5baaa3207d
1 file changed
+1
-1
+1
-1
@@ -1432,7 +1432,7 @@ void I_ReadScreen(UINT8 * restrict scr, INT32 scale)
|
||||
// uintptr_t is even better since it's guaranteed to be the size of a pointer
|
||||
for (uintptr_t y = 0; y < h; y += scale)
|
||||
for (uintptr_t x = 0; x < w; x += scale)
|
||||
*scr++ = source[y*vid.height + x];
|
||||
*scr++ = source[x*vid.height + y];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user