Give more light in kart selection screen

This commit is contained in:
Deve 2015-12-14 19:23:27 +01:00
parent 153fabb502
commit e6068923b4

View File

@ -1961,8 +1961,10 @@ void Skin::process3DPane(IGUIElement *element, const core::recti &rect,
FrameBuffer* fb = mvw->getFrameBuffer();
if (fb != NULL && fb->getRTT().size() > 0)
{
glEnable(GL_FRAMEBUFFER_SRGB);
draw2DImageFromRTT(fb->getRTT()[0], 512, 512,
rect, core::rect<s32>(0, 0, 512, 512), NULL, SColor(255, 255, 255, 255), true);
glDisable(GL_FRAMEBUFFER_SRGB);
}
}
else if (type == WTYPE_ICON_BUTTON || type == WTYPE_MODEL_VIEW)