mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +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.conbuffer = vid.buffer;
|
||||
} 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->width, rects->height)) {
|
||||
Sys_Error ("VID_Update: XPutImage failed\n");
|
||||
|
|
Loading…
Reference in a new issue