I need to write a .DDS file cross-platform, can someone point me to example?
        Posted  
        
            by codist
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by codist
        
        
        
        Published on 2010-03-02T17:09:22Z
        Indexed on 
            2010/03/25
            3:43 UTC
        
        
        Read the original article
        Hit count: 280
        
I need to create a .DDS file with code that runs on both OSX and Windows. Although the format doesn't look difficult, I'd still like an example of writing the file. Note I don't need to read it, just write it.
C or C++ and RGBA bitmap.
© Stack Overflow or respective owner