Writes a Dds to an already-opened file
| 48 | |
| 49 | //! Writes a Dds to an already-opened file |
| 50 | ILuint ilSaveDdsF(ILHANDLE File) |
| 51 | { |
| 52 | ILuint Pos; |
| 53 | iSetOutputFile(File); |
| 54 | Pos = itellw(); |
| 55 | if (iSaveDdsInternal() == IL_FALSE) |
| 56 | return 0; // Error occurred |
| 57 | return itellw() - Pos; // Return the number of bytes written. |
| 58 | } |
| 59 | |
| 60 | |
| 61 | //! Writes a Dds to a memory "lump" |
no test coverage detected