From: Brian Paul Date: Tue, 20 Sep 2005 04:47:34 +0000 (+0000) Subject: remove 31-bit Z buffer work-around X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e4e3adcf82a72e9a74f21b492fbf5552ebfd47f;p=mesa.git remove 31-bit Z buffer work-around --- 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) {