diff options
author | Brian Paul <[email protected]> | 2003-04-08 13:33:41 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-04-08 13:33:41 +0000 |
commit | 38c619bf15609037e89d9b6377fe1d033d707ff1 (patch) | |
tree | c6ed270b5677ff34052f9ecb9115ce5d1a95fb68 /src/mesa | |
parent | dcf3d8d61dbc22353560a66af8d72e620e94b147 (diff) |
add missing return in raster_pos4f()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/rastpos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index 2ca7b22a9b4..5c019bd00ba 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -1,5 +1,3 @@ -/* $Id: rastpos.c,v 1.40 2003/03/01 01:50:22 brianp Exp $ */ - /* * Mesa 3-D graphics library * Version: 5.1 @@ -329,8 +327,10 @@ raster_pos4f(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) /* clip to view volume */ if (ctx->Transform.RasterPositionUnclipped) { /* GL_IBM_rasterpos_clip: only clip against Z */ - if (viewclip_point_z(clip) == 0) + if (viewclip_point_z(clip) == 0) { ctx->Current.RasterPosValid = GL_FALSE; + return; + } } else if (viewclip_point(clip) == 0) { /* Normal OpenGL behaviour */ |