[osg-submissions] DDS Writer Correction
David Spilling
david.spilling at gmail.com
Fri Sep 14 08:02:13 PDT 2007
Dear Robert,
Given no replies to my recent "does anybody use the DDS writer" query, I was
emboldened to submit this very small patch. The bitmasks for RGBA and RGB
have been modified in the writer portion of the code (line 765 onwards).
This is now consistent with what the DDS plugin reads. In terms of testing,
note that many 3rd party applications erroneously ignore the bitmasks in the
file, and assume a BGRA order.
This is based on the 2.1.1 release, although I don't think it's changed
since then.
Hope that helps,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070914/4dd11531/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReaderWriterDDS.cpp
Type: text/x-c++src
Size: 35993 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070914/4dd11531/attachment-0001.cpp
More information about the osg-submissions
mailing list