diff options
author | aap <aap@papnet.eu> | 2020-08-20 23:43:13 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-20 23:44:40 +0200 |
commit | a6fe606ce687b67c238f8671cf2dda5c840654c8 (patch) | |
tree | d1e1508a0b016e118b7d357e980262f1aa1e63f1 /src/rw | |
parent | Merge pull request #693 from majesticCoding/miami (diff) | |
download | re3-a6fe606ce687b67c238f8671cf2dda5c840654c8.tar re3-a6fe606ce687b67c238f8671cf2dda5c840654c8.tar.gz re3-a6fe606ce687b67c238f8671cf2dda5c840654c8.tar.bz2 re3-a6fe606ce687b67c238f8671cf2dda5c840654c8.tar.lz re3-a6fe606ce687b67c238f8671cf2dda5c840654c8.tar.xz re3-a6fe606ce687b67c238f8671cf2dda5c840654c8.tar.zst re3-a6fe606ce687b67c238f8671cf2dda5c840654c8.zip |
Diffstat (limited to 'src/rw')
-rw-r--r-- | src/rw/TexRead.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rw/TexRead.cpp b/src/rw/TexRead.cpp index 3199307b..35417104 100644 --- a/src/rw/TexRead.cpp +++ b/src/rw/TexRead.cpp @@ -1,7 +1,9 @@ #pragma warning( push ) #pragma warning( disable : 4005) #pragma warning( pop ) +#ifndef LIBRW #define WITHD3D +#endif #include "common.h" #ifndef LIBRW #include "rpanisot.h" @@ -221,7 +223,11 @@ CanVideoCardDoDXT(void) { #ifdef LIBRW // TODO +#ifdef RW_OPENGL + return false +#else return true; +#endif #else return _rwD3D8CheckValidTextureFormat(D3DFMT_DXT1) && _rwD3D8CheckValidTextureFormat(D3DFMT_DXT3); #endif |