summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2016-05-30 19:26:00 -0600
committerBrian Paul <brianp@vmware.com>2016-06-02 07:05:05 -0600
commit17f4c723eb5a503d747d643936e4fd689a5f4946 (patch)
treec599144d85886ec4d3dbe121121827dd9fcc58ac
parent6c9a352d79e215b545b5d400ae946a27d56e4abd (diff)
downloadexternal_mesa3d-17f4c723eb5a503d747d643936e4fd689a5f4946.zip
external_mesa3d-17f4c723eb5a503d747d643936e4fd689a5f4946.tar.gz
external_mesa3d-17f4c723eb5a503d747d643936e4fd689a5f4946.tar.bz2
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 <eric@engestrom.ch> Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/gallium/state_trackers/osmesa/osmesa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/state_trackers/osmesa/osmesa.c
index 1071507..18f1b88 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: