diff --git a/src/libs/tgfclient/glfeatures.cpp b/src/libs/tgfclient/glfeatures.cpp index 921ef05b8..d0c46c4a4 100644 --- a/src/libs/tgfclient/glfeatures.cpp +++ b/src/libs/tgfclient/glfeatures.cpp @@ -617,7 +617,7 @@ bool GfglFeatures::checkBestSupport(int nWidth, int nHeight, int nDepth, // and run a new supported feature detection if any diffference. bool bSupportFound = true; if (!bPrevSupportFound || nWidth != nDetWidth || nHeight != nDetHeight || nDepth != nDetDepth - || bAlpha != bDetAlpha || bFullScreen != bDetFullScreen || bStereo != bDetStereo) + || bAlpha != bDetAlpha || bFullScreen != bDetFullScreen || bStereo != bDetStereo || bBump != bDetBump) { nDetWidth = nWidth; nDetHeight = nHeight; diff --git a/src/libs/tgfclient/guiscreen.cpp b/src/libs/tgfclient/guiscreen.cpp index f594c3344..bd2435b8d 100644 --- a/src/libs/tgfclient/guiscreen.cpp +++ b/src/libs/tgfclient/guiscreen.cpp @@ -435,6 +435,10 @@ bool GfScrInit(int nWinWidth, int nWinHeight, int nFullScreen) == GFSCR_VAL_YES; else bFullScreen = nFullScreen ? true : false; + bool bBumpMap = + std::string(GfParmGetStr(hparmScreen, pszScrPropSec, GFSCR_ATT_BUMPMAPPING, + GFSCR_VAL_NO)) + == GFSCR_VAL_YES; bool bStereo = std::string(GfParmGetStr(hparmScreen, pszScrPropSec, GFSCR_ATT_STEREOVISION, GFSCR_VAL_YES)) @@ -459,7 +463,7 @@ bool GfScrInit(int nWinWidth, int nWinHeight, int nFullScreen) // Warning: Restarts the game if the frame buffer specs changed since last call. // If specified and possible, setup the best possible settings. if (GfglFeatures::self().checkBestSupport(nWinWidth, nWinHeight, nTotalDepth, - bAlphaChannel, bFullScreen, bStereo, hparmScreen)) + bAlphaChannel, bFullScreen, bBumpMap, bStereo, hparmScreen)) { // Load Open GL user settings from the config file. GfglFeatures::self().loadSelection();