From: Eric Engestrom Date: Tue, 31 May 2016 01:26:00 +0000 (-0600) Subject: st/osmesa: remove double-write (overwriting) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17f4c723eb5a503d747d643936e4fd689a5f4946;p=mesa.git st/osmesa: remove double-write (overwriting) These two lines have been here since the file was created. I'm guessing the second one was just for testing during dev, so it's the one that's going away. CoverityID: 1296205 Signed-off-by: Eric Engestrom Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Brian Paul --- diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/state_trackers/osmesa/osmesa.c index 10715076f59..18f1b88128a 100644 --- a/src/gallium/state_trackers/osmesa/osmesa.c +++ b/src/gallium/state_trackers/osmesa/osmesa.c @@ -877,7 +877,6 @@ OSMesaGetIntegerv(GLint pname, GLint *value) int maxLevels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); *value = 1 << (maxLevels - 1); - *value = 8 * 1024; } return; default: