From 9e4e3adcf82a72e9a74f21b492fbf5552ebfd47f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Sep 2005 04:47:34 +0000 Subject: [PATCH] remove 31-bit Z buffer work-around --- src/mesa/drivers/x11/fakeglx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index d3213e7..2cb6963 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) { -- 2.7.4