Fixed compiler warnings.

This commit is contained in:
hiker 2017-07-31 22:56:00 +10:00
parent a89b2f5df2
commit 47d2e30c5f

View File

@ -51,8 +51,8 @@ static GLuint generateRTT(const core::dimension2du &res, GLint internalFormat, G
RTT::RTT(size_t width, size_t height, float rtt_scale)
{
m_width = width * rtt_scale;
m_height = height * rtt_scale;
m_width = size_t(width * rtt_scale);
m_height = size_t(height * rtt_scale);
m_shadow_FBO = NULL;
m_RH_FBO = NULL;
m_RSM = NULL;