[Bf-committers] sPreferredFormat in GHOST_WindowWin32.cpp

Jason Wilkins jason.a.wilkins at gmail.com
Sun Jul 28 09:27:31 CEST 2013


Nevermind.  Somehow in my working copy this structure got messed up, but it
is correct in trunk.  Maybe I'm getting old enough to need glasses ;-)


On Sat, Jul 27, 2013 at 1:19 PM, Jason Wilkins <jason.a.wilkins at gmail.com>wrote:

> I noticed while re-writing and debugging GHOST_WindowWin32.cpp that the
> sPreferredFormat structure is missing an initializer so everything after
> the 3rd field is incorrect.
>
> After dwFlags there should be an iPixelType field, but instead it is
> initialized with what is meant be dwColorBits's value.
>
> I was tempted to just fix it, but I'm kind of afraid to just do that
> because I'm surprised the code even works.  So I'm afraid it might break
> something ;-)
>
>
>
>
>
>
>
>
>


More information about the Bf-committers mailing list