fixing bug with build for release mode

This commit is contained in:
cerkiewny 2017-03-18 12:28:21 +01:00
parent 8669e5e674
commit b0f02fd8a8

View file

@ -119,7 +119,6 @@ namespace cloonel {
#endif #endif
#if !defined(NDEBUG) #if !defined(NDEBUG)
{ {
m_screenRes = parSize.Resolution();
const ushort2 tileSize(vector_cast<ushort2>(m_tileSize)); const ushort2 tileSize(vector_cast<ushort2>(m_tileSize));
const ushort2 screenRes(vector_cast<ushort2>(parSize.Resolution())); const ushort2 screenRes(vector_cast<ushort2>(parSize.Resolution()));
const ushort2 tileCount(vector_cast<ushort2>(m_tileCount)); const ushort2 tileCount(vector_cast<ushort2>(m_tileCount));