Writes a Dds to a memory "lump"
| 60 | |
| 61 | //! Writes a Dds to a memory "lump" |
| 62 | ILuint ilSaveDdsL(void *Lump, ILuint Size) |
| 63 | { |
| 64 | ILuint Pos; |
| 65 | iSetOutputLump(Lump, Size); |
| 66 | Pos = itellw(); |
| 67 | if (iSaveDdsInternal() == IL_FALSE) |
| 68 | return 0; // Error occurred |
| 69 | return itellw() - Pos; // Return the number of bytes written. |
| 70 | } |
| 71 | |
| 72 | |
| 73 | //! Checks if an image is a cubemap |
no test coverage detected