summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2016-05-30 19:26:00 -0600
committerEmil Velikov <[email protected]>2016-06-10 12:08:02 +0100
commit1dce03e4c12a54a73444d9d8e7283c00db217108 (patch)
tree1c552e38cd3ec7f3359898dc42ce6e6930d5cfc9 /src
parenta7649abe9fc19671493957a8ffbbf6053c77cab4 (diff)
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 <[email protected]> Cc: [email protected] Reviewed-by: Brian Paul <[email protected]> (cherry picked from commit 17f4c723eb5a503d747d643936e4fd689a5f4946)
Diffstat (limited to 'src')
-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 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: