diff options
Diffstat (limited to 'source/blender/imbuf/intern/dds/DirectDrawSurface.h')
-rw-r--r-- | source/blender/imbuf/intern/dds/DirectDrawSurface.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.h b/source/blender/imbuf/intern/dds/DirectDrawSurface.h index 381fa51f75c..343a7367f91 100644 --- a/source/blender/imbuf/intern/dds/DirectDrawSurface.h +++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.h @@ -157,6 +157,10 @@ class DirectDrawSurface { void setUserVersion(int version); void mipmap(Image *img, uint f, uint m); + /** + * It was easier to copy this function from upstream than to resync. + * This should be removed if a resync ever occurs. + */ void *readData(uint &size); // void mipmap(FloatImage *img, uint f, uint m); @@ -174,7 +178,8 @@ class DirectDrawSurface { void readBlock(ColorBlock *rgba); private: - Stream stream; /* Memory where DDS file resides. */ + /** Memory where DDS file resides. */ + Stream stream; DDSHeader header; }; |