bge cleanup caught by accident while going over the code, it seems someone forgot to use rect_height everywhere (no functional change)

This commit is contained in:
Dalai Felinto
2012-09-13 23:39:09 +00:00
parent 888c4fd253
commit 622ac250f9

View File

@@ -431,7 +431,7 @@ void RAS_2DFilterManager::RenderFilters(RAS_ICanvas* canvas)
// reverting to texunit 0, without this we get bug [#28462]
glActiveTextureARB(GL_TEXTURE0);
glViewport(rect.GetLeft(), rect.GetBottom(), rect_width, rect.GetHeight()+1);
glViewport(rect.GetLeft(), rect.GetBottom(), rect_width, rect_height);
glDisable(GL_DEPTH_TEST);
// in case the previous material was wire