diff --git a/README.md b/README.md index 9855f7af..68f03a2b 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ Microsoft recently discontinued its downloads of the DX9 SDK. You can download a **If you choose OpenAL on Windows** You must read [Running OpenAL build on Windows](https://github.com/GTAmodding/re3/wiki/Running-OpenAL-build-on-Windows). -> :information_source: premake has an `--with-lto` option if you want the project to be compiled with Link Time Optimization. +> :information_source: premake has an `--with-lto` option if you want the project to be compiled with Link Time Optimization (has to be used with `--no-git-hash`) > :information_source: There are various settings in [config.h](https://github.com/GTAmodding/re3/tree/miami/src/core/config.h), you may want to take a look there. diff --git a/src/rw/TexRead.cpp b/src/rw/TexRead.cpp index 1f96180b..13c200a1 100644 --- a/src/rw/TexRead.cpp +++ b/src/rw/TexRead.cpp @@ -294,7 +294,7 @@ CanVideoCardDoDXT(void) #ifdef LIBRW // TODO #ifdef RW_OPENGL - return false; + return rw::gl3::gl3Caps.dxtSupported; #else return true; #endif