Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/imbuf/intern/dds/DirectDrawSurface.cpp')
-rw-r--r--source/blender/imbuf/intern/dds/DirectDrawSurface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp
index df9182c2c1e..8e49dba5e33 100644
--- a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp
+++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp
@@ -792,7 +792,7 @@ void DDSHeader::setUserVersion(int version)
this->reserved[8] = version;
}
-/*
+#if 0
void DDSHeader::swapBytes()
{
this->fourcc = POSH_LittleU32(this->fourcc);
@@ -828,7 +828,7 @@ void DDSHeader::swapBytes()
this->header10.arraySize = POSH_LittleU32(this->header10.arraySize);
this->header10.reserved = POSH_LittleU32(this->header10.reserved);
}
-*/
+#endif
bool DDSHeader::hasDX10Header() const
{
@@ -909,11 +909,11 @@ bool DirectDrawSurface::isValid() const
}
/* in some files DDSCAPS_TEXTURE is missing: silently ignore */
- /*
- if ( !(header.caps.caps1 & DDSCAPS_TEXTURE) ) {
+#if 0
+ if (!(header.caps.caps1 & DDSCAPS_TEXTURE)) {
return false;
}
- */
+#endif
return true;
}