This commit is contained in:
King_DuckZ 2014-03-28 10:51:48 +01:00
parent bf8d9ea327
commit b21fe20459
2 changed files with 2 additions and 3 deletions

View file

@ -3,7 +3,6 @@
#include "sdlmain.hpp"
#include <cassert>
#include <ciso646>
#include <algorithm>
namespace cloonel {
namespace implem {
@ -28,8 +27,7 @@ namespace cloonel {
assert(m_registered or not m_sdlmain);
m_registered = false;
#endif
if (m_registered) {
assert(m_sdlmain);
if (m_sdlmain) {
m_sdlmain->UnregisterForResChange(m_id);
}
}

View file

@ -22,6 +22,7 @@
#include "vector.hpp"
#include <cstddef>
#include <algorithm>
namespace cloonel {
class SizeRatio;