Hide the "Internal resolution" etc static display unless FPS counter is on.

Seems fairly related and I don't want to add more options.
This commit is contained in:
Henrik Rydgard committed 2015-11-27 00:17:14 +01:00
1 parent efde6e44db
commit 01669cbd92
3 files changed
+9 -3

No files matched your search

+4 -1
View File
@@ -1126,7 +1126,10 @@ namespace DX9 {
}
UpdateSize();
ShowScreenResolution();
// Seems related - if you're ok with numbers all the time, show some more :)
if (g_Config.iShowFPSCounter != 0) {
ShowScreenResolution();
}
resized_ = false;
}
#if 0
+4 -1
View File
@@ -1781,7 +1781,10 @@ void FramebufferManager::EndFrame() {
resized_ = false;
#ifdef _WIN32
ShowScreenResolution();
// Seems related - if you're ok with numbers all the time, show some more :)
if (g_Config.iShowFPSCounter != 0) {
ShowScreenResolution();
}
#endif
ClearBuffer();
DestroyDraw2DProgram();
+1 -1
View File
@@ -208,7 +208,7 @@ bool Thin3DTexture::LoadFromFileData(const uint8_t *data, size_t dataSize, T3DIm
}
if (num_levels < 0 || num_levels >= 16) {
ELOG("Invalid num_levels: %d. Falling back to one. Image: %dx%d", num_levels, width, height);
ELOG("Invalid num_levels: %d. Falling back to one. Image: %dx%d", num_levels, width[0], height[0]);
num_levels = 1;
}