st/osmesa: remove double-write (overwriting)
authorEric Engestrom <eric@engestrom.ch>
Tue, 31 May 2016 01:26:00 +0000 (19:26 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 2 Jun 2016 13:05:05 +0000 (07:05 -0600)
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>
src/gallium/state_trackers/osmesa/osmesa.c

index 10715076f5902286c1160b8168700894a0fcd3a3..18f1b88128a428ba73bb21e393ecefcbf1a7a389 100644 (file)
@@ -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: