Skip to content

Commit

Permalink
fixed views
Browse files Browse the repository at this point in the history
  • Loading branch information
Ironbell committed Jul 4, 2016
1 parent cc32b8f commit 2274580
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/GUI/ProgressLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ void ProgressLog::update(const sf::Time& frameTime) {

void ProgressLog::render(sf::RenderTarget& renderTarget) {
if (!m_isVisible) return;
renderTarget.setView(renderTarget.getDefaultView());
for (auto it : m_logTexts) {
it->render(renderTarget);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "TextProvider.h"

// If this is defined, savegame and screenshot folders will be created outside of the Cendric directory at locations determined by the operating system. (e.g. User/Documents/Cendric on Windows)
// #define EXTERN_DOCUMENTS_FOLDER
//#define EXTERN_DOCUMENTS_FOLDER

#ifdef _WIN32
#define _WIN32_WINNT 0x0500
Expand Down

0 comments on commit 2274580

Please sign in to comment.