mirror of
https://github.com/libretro/ppsspp.git
synced 2025-04-02 11:41:36 +00:00
Fix a confusing comment for screenshots.
This commit is contained in:
parent
0a1b3c296b
commit
1e2065a280
@ -97,7 +97,7 @@ void WindowsHeadlessHost::SendDebugScreenshot(const u8 *pixbuf, u32 w, u32 h)
|
||||
const static int FRAME_HEIGHT = 272;
|
||||
u8 *pixels = new u8[FRAME_WIDTH * FRAME_HEIGHT * 4];
|
||||
|
||||
// TODO: Maybe the GPU should do this?
|
||||
// TODO: Maybe this code should be moved into GLES_GPU.
|
||||
glReadBuffer(GL_FRONT);
|
||||
glReadPixels(0, 0, FRAME_WIDTH, FRAME_HEIGHT, GL_BGRA, GL_UNSIGNED_BYTE, pixels);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user