projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf3d8d
)
add missing return in raster_pos4f()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 8 Apr 2003 13:33:41 +0000
(13:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 8 Apr 2003 13:33:41 +0000
(13:33 +0000)
src/mesa/main/rastpos.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/rastpos.c
b/src/mesa/main/rastpos.c
index
2ca7b22
..
5c019bd
100644
(file)
--- 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 */