mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
the output is rather mangled but the client no longer crashes
This commit is contained in:
parent
74ee0cfd0e
commit
7da551d044
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ SCR_ScreenShot (int width, int height)
|
|||
return 0;
|
||||
|
||||
qfglReadPixels (glx, gly, vid.width, vid.height, GL_RGB, GL_UNSIGNED_BYTE,
|
||||
tex->data + vid.width * vid.height);
|
||||
tex->data);
|
||||
|
||||
w = (vid.width < width) ? vid.width : width;
|
||||
h = (vid.height < height) ? vid.height : height;
|
||||
|
|
Loading…
Reference in a new issue