[cairo-commit] libglc/src glc_programmatic.c,1.3,1.4
David Reveman
commit at pdx.freedesktop.org
Mon Mar 15 03:27:16 PST 2004
- Previous message: [cairo-commit] libglc ChangeLog,1.45,1.46
- Next message: [cairo-commit] papers/opengl_freenix04 conv-gaussian.png, NONE,
1.1 conv-original.png, NONE, 1.1 inf-gl-a.png, NONE,
1.1 inf-gl-aa.png, NONE, 1.1 inf-xr-a.png, NONE,
1.1 inf-xr-aa.png, NONE, 1.1 linear-gradients.png, NONE,
1.1 opengl-pipeline.png, NONE, 1.1 Makefile, 1.6,
1.7 jaggies.png, 1.1, 1.2 layers.png, 1.1,
1.2 opengl_freenix04.tex, 1.31, 1.32 sinus.png, 1.1,
1.2 cairo-demo-glc.png, 1.2, NONE cairo-demo-xrender.png, 1.2,
NONE flow.png, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: davidr
Update of /cvs/cairo/libglc/src
In directory pdx:/tmp/cvs-serv31132/src
Modified Files:
glc_programmatic.c
Log Message:
Divide by zero fix
Index: glc_programmatic.c
===================================================================
RCS file: /cvs/cairo/libglc/src/glc_programmatic.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** a/glc_programmatic.c 6 Mar 2004 13:58:17 -0000 1.3
--- b/glc_programmatic.c 15 Mar 2004 11:27:13 -0000 1.4
***************
*** 255,259 ****
start,
end,
! 1.0 / length,
0.0);
proc_address->gl_program_local_param_4d_arb
--- 255,259 ----
start,
end,
! (length)? 1.0 / length: INT_MAX,
0.0);
proc_address->gl_program_local_param_4d_arb
***************
*** 283,287 ****
FIXED_TO_DOUBLE (gradient->start.point.x),
surface->base.height - FIXED_TO_DOUBLE (gradient->start.point.y),
! (length)? 1.0 / (length * length): 1000000.0,
0.0);
} break;
--- 283,287 ----
FIXED_TO_DOUBLE (gradient->start.point.x),
surface->base.height - FIXED_TO_DOUBLE (gradient->start.point.y),
! (length)? 1.0 / (length * length): INT_MAX,
0.0);
} break;
- Previous message: [cairo-commit] libglc ChangeLog,1.45,1.46
- Next message: [cairo-commit] papers/opengl_freenix04 conv-gaussian.png, NONE,
1.1 conv-original.png, NONE, 1.1 inf-gl-a.png, NONE,
1.1 inf-gl-aa.png, NONE, 1.1 inf-xr-a.png, NONE,
1.1 inf-xr-aa.png, NONE, 1.1 linear-gradients.png, NONE,
1.1 opengl-pipeline.png, NONE, 1.1 Makefile, 1.6,
1.7 jaggies.png, 1.1, 1.2 layers.png, 1.1,
1.2 opengl_freenix04.tex, 1.31, 1.32 sinus.png, 1.1,
1.2 cairo-demo-glc.png, 1.2, NONE cairo-demo-xrender.png, 1.2,
NONE flow.png, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list