diff options
author | Brian Paul <[email protected]> | 2000-12-08 17:37:00 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-12-08 17:37:00 +0000 |
commit | 536ede7e00ff5e2f10be3bf9b60cd2cfa80b3518 (patch) | |
tree | a1c8f18e926597d891b4da5fd5e01a6471ad40df | |
parent | 1c6701e1e19a7d104ea8e2db560e4abef4be4ad0 (diff) |
fixed bug 123918: glXCopySubBuffer() y position off by one
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index be03832b7dc..fd341736e0c 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -1,8 +1,8 @@ -/* $Id: xm_api.c,v 1.10 2000/11/22 07:32:17 joukj Exp $ */ +/* $Id: xm_api.c,v 1.11 2000/12/08 17:37:00 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.3 + * Version: 3.5 * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * @@ -2404,7 +2404,7 @@ void XMesaCopySubBuffer( XMesaBuffer b, int x, int y, int width, int height ) _mesa_swapbuffers(ctx); if (b->db_state) { - int yTop = b->bottom - y - height; + int yTop = b->height - y - height; #ifdef FX if (b->FXctx) { fxMesaSwapBuffers(); |