Revision: 42170
http://brlcad.svn.sourceforge.net/brlcad/?rev=42170&view=rev
Author: brlcad
Date: 2011-01-12 19:49:20 +0000 (Wed, 12 Jan 2011)
Log Message:
-----------
init to zero pixels
Modified Paths:
--------------
brlcad/trunk/src/fb/pp-fb.c
Modified: brlcad/trunk/src/fb/pp-fb.c
===================================================================
--- brlcad/trunk/src/fb/pp-fb.c 2011-01-12 19:48:55 UTC (rev 42169)
+++ brlcad/trunk/src/fb/pp-fb.c 2011-01-12 19:49:20 UTC (rev 42170)
@@ -452,10 +452,14 @@
char c;
int i, j, iw, ih, iwih, trnf, flop;
int inten = 0;
- int inten_high;
+ int inten_high = 0;
long li, lj, numb(void);
- RGBpixel ocl, tcl, pmix, tp, bp;
- unsigned char *fb_p; /* Current position in buffer. */
+ RGBpixel ocl = {0, 0, 0};
+ RGBpixel tcl = {0, 0, 0};
+ RGBpixel pmix = {0, 0, 0};
+ RGBpixel tp = {0, 0, 0};
+ RGBpixel bp = {0, 0, 0};
+ unsigned char *fb_p = NULL; /* Current position in buffer. */
printf("Picture is being painted\n");
bp[RED]=colortab[ibc].c_pixel[RED];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits