RE: [Plib-devel] Another New Demo Program for PW
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2004-04-30 20:06:49
|
OK, I think that sounds like a plan. Since the "bool" is in the sample program, I think we can just change it right away. How does PW decide what is the best possible multisampling? John F. Fay joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...]On Behalf Of Steve Baker Sent: Tuesday, April 27, 2004 7:59 PM To: pli...@li... Subject: Re: [Plib-devel] Another New Demo Program for PW <snip> > The second is a PW issue which I think I raised earlier. The fifth > argument of "pwInit" is "int multisample" which in the "pw_demo" program is > set to "false". I think an "int" should be "TRUE" and "FALSE" rather than > the strict boolean values of "true" and "false". I propose that we either > change the "pwInit" function to take a "bool" or else we change "pw.h" to > include definitions of "TRUE" and "FALSE" and change the sample programs to > pass those. My personal preference is for the latter. Actually, we should probably step back and think a bit more about that. When you turn on multisampling, there is generally a choice as to the number of subsamples - and sometimes other qualitative parameters. Perhaps we should change it to some kind of enumeration such that zero means "no multisampling", one means "best possible multisampling" and other values could be added later. This would keep existing programs working - but allow for more fancy stuff later. <snip> |