Warning about unhandled cases was fixed.
This commit is contained in:
parent
16d35b0b17
commit
41a3da1674
1 changed files with 4 additions and 1 deletions
|
@ -137,7 +137,10 @@ void button::draw()
|
|||
break;
|
||||
case PRESSED: image = pressedImage_;
|
||||
offset = 1;
|
||||
break;
|
||||
break;
|
||||
case UNINIT:
|
||||
case NORMAL:
|
||||
default: break;
|
||||
}
|
||||
|
||||
const SDL_Rect clipArea = {0,0,1024,768};
|
||||
|
|
Loading…
Add table
Reference in a new issue