diff options
author | Brian Paul <[email protected]> | 2005-09-20 04:47:34 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-20 04:47:34 +0000 |
commit | 9e4e3adcf82a72e9a74f21b492fbf5552ebfd47f (patch) | |
tree | 69fd582522165d941f9b193067edc9aa84b473ff /src/mesa/drivers/x11 | |
parent | 8fadf8f900d4f979af50a86f98a3577946d93fd1 (diff) |
remove 31-bit Z buffer work-around
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index d3213e70898..2cb69631148 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.4 + * Version: 6.5 * * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * @@ -1209,7 +1209,7 @@ choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig ) * return 16 to maintain performance with earlier versions of Mesa. */ if (depth_size > 24) - depth_size = 31; /* 32 causes int overflow problems */ + depth_size = 32; else if (depth_size > 16) depth_size = 24; else if (depth_size > 0) { |