mesa: add missing TYPE_DOUBLEN_2 cases in get.c
authorBrian Paul <brianp@vmware.com>
Tue, 21 Jan 2014 16:18:13 +0000 (08:18 -0800)
committerBrian Paul <brianp@vmware.com>
Tue, 21 Jan 2014 18:53:12 +0000 (10:53 -0800)
commitff59b3d9ee3204a16d991087f71808e41054cc85
tree5b039f683cada6bb448a993e1acc7215905a538b
parent51000c2ff8a6b59b6dab51cbd63ef87ac6f2a317
mesa: add missing TYPE_DOUBLEN_2 cases in get.c

The new TYPE_DOUBLEN_2 type was added in 0e60d850 but the code to
return values of that type wasn't completed.

Fixes conform's default state test.  glGetFloatv(GL_DEPTH_RANGE)
wasn't returning anything.

v2: remove stray 'break' statements.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/get.c