Thanks Alexander, fix now merged and submitted to svn/trunk.

On 13 February 2012 11:48, Alexander Sinditskiy <[email protected]> wrote:
> Hi,
>
> diff
>
> Code:
>
> -        bytesPerRow = (unsigned int) (dib.width * (dib.bitsPerPixel / 8.0f));
> +        bytesPerRow = (unsigned int) ceilf(dib.width * (dib.bitsPerPixel / 
> 8.0f));
>
>
>
>
> Image loading fails if image width lower than 8 pixels.
>
> Thank you!
>
> Cheers,
> Alexander
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=45449#45449
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to