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:
authorCampbell Barton <ideasman42@gmail.com>2018-09-02 11:51:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-02 11:51:31 +0300
commit0ddf3e110ef0f1f69ef785db867e581f813ee9a7 (patch)
tree4afbadc141cd4072a4ea0bb11205acee72cd6dc6 /source/blender/imbuf/intern/dds/DirectDrawSurface.cpp
parent8a3b548cb2b2c7a05a4d0a1c613f788d38a04e85 (diff)
Cleanup: comment blocks
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;
}