mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
XPutImage returns 0 for success, not error
This commit is contained in:
parent
7afea4094e
commit
ac73653741
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ VID_Update (vrect_t *rects)
|
||||||
vid.buffer = x_framebuffer[current_framebuffer]->data;
|
vid.buffer = x_framebuffer[current_framebuffer]->data;
|
||||||
vid.conbuffer = vid.buffer;
|
vid.conbuffer = vid.buffer;
|
||||||
} else {
|
} else {
|
||||||
if (!XPutImage (x_disp, x_win, x_gc, x_framebuffer[0],
|
if (XPutImage (x_disp, x_win, x_gc, x_framebuffer[0],
|
||||||
rects->x, rects->y, rects->x, rects->y,
|
rects->x, rects->y, rects->x, rects->y,
|
||||||
rects->width, rects->height)) {
|
rects->width, rects->height)) {
|
||||||
Sys_Error ("VID_Update: XPutImage failed\n");
|
Sys_Error ("VID_Update: XPutImage failed\n");
|
||||||
|
|
Loading…
Reference in a new issue