summaryrefslogtreecommitdiffstats
path: root/client/gui/softrenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/gui/softrenderer.cpp')
-rw-r--r--client/gui/softrenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gui/softrenderer.cpp b/client/gui/softrenderer.cpp
index 9f19e7b0..c888bc03 100644
--- a/client/gui/softrenderer.cpp
+++ b/client/gui/softrenderer.cpp
@@ -45,7 +45,7 @@ SoftRenderer::SoftRenderer(uint8_t* surface, uint width, uint height, uint strid
, _image_codec_module (NULL)
, _queueing(true)
{
- assert(stride == _width * 4); //for now
+ assert(stride == width * 4); //for now
if (!_image_codec) {
setupImageCodec();
}