diff options
author | Michal Krol <[email protected]> | 2008-07-15 11:26:38 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-07-15 11:48:59 +0200 |
commit | 6c534b830c6f5427c391c5225c34561141c201ba (patch) | |
tree | 1302142c7904316f2c1bc5a46e7f23b49a55081d /src/mesa/state_tracker/st_cb_rasterpos.c | |
parent | 090e212c0c5e54156c3c33f7eecdfe01398a7222 (diff) |
st: Silence compiler warnings on Windows.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_rasterpos.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_rasterpos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_rasterpos.c b/src/mesa/state_tracker/st_cb_rasterpos.c index 3cb7b68bea5..3b30c2a61b5 100644 --- a/src/mesa/state_tracker/st_cb_rasterpos.c +++ b/src/mesa/state_tracker/st_cb_rasterpos.c @@ -135,7 +135,7 @@ rastpos_point(struct draw_stage *stage, struct prim_header *prim) struct rastpos_stage *rs = rastpos_stage(stage); GLcontext *ctx = rs->ctx; struct st_context *st = ctx->st; - const GLfloat height = ctx->DrawBuffer->Height; + const GLfloat height = (GLfloat) ctx->DrawBuffer->Height; const GLuint *outputMapping = st->vertex_result_to_slot; const GLfloat *pos; GLuint i; |