1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-07 00:58:39 +02:00

New function GL2D::checkErrors() - prints GL errors codes,

bugs fixes in GL2D::makeShaderProgram and CButtion class
This commit is contained in:
paracelsus
2013-03-10 20:52:02 +00:00
parent f3e1eca6f7
commit 058d730d56
5 changed files with 24 additions and 8 deletions

View File

@ -265,7 +265,7 @@ void CButton::clickLeft(tribool down, bool previousState)
if (down)
{
state == PRESSED;
state = PRESSED;
CCS->soundh->playSound(soundBase::button);
if (text) text->moveTo(Point(pos.x+pos.w/2+1, pos.y+pos.h/2+1));