aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-25 22:45:59 +0000
committerBrian Paul <[email protected]>2003-11-25 22:45:59 +0000
commit0f3cd3f894612d156de454178effa4c732f96da7 (patch)
tree429ee71c2a0153eb471c8ab9795d15757b304908 /src/mesa/main/get.c
parent7df4f95314a91afe92ca7d1eb0effa1dda7ac844 (diff)
current raster color index should be GLfloat
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index e2412186eab..32491d9d34c 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -3392,7 +3392,7 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params )
params[0] = ctx->Current.RasterDistance;
break;
case GL_CURRENT_RASTER_INDEX:
- *params = (GLfloat) ctx->Current.RasterIndex;
+ *params = ctx->Current.RasterIndex;
break;
case GL_CURRENT_RASTER_POSITION:
params[0] = ctx->Current.RasterPos[0];