Remove an old-style-cast.
This commit is contained in:
parent
fed2dd7abc
commit
30c6e467b0
1 changed files with 4 additions and 2 deletions
|
@ -46,8 +46,10 @@ public:
|
|||
static game_display* create_dummy_display(CVideo& video);
|
||||
|
||||
~game_display();
|
||||
static game_display* get_singleton() { return (game_display*)singleton_ ;}
|
||||
|
||||
static game_display* get_singleton()
|
||||
{
|
||||
return static_cast<game_display*>(singleton_);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update lighting settings.
|
||||
|
|
Loading…
Add table
Reference in a new issue