Print the video driver name.
This commit is contained in:
parent
5941e0af56
commit
0d2f584229
3 changed files with 9 additions and 1 deletions
|
@ -199,4 +199,10 @@ namespace cloonel {
|
|||
ushort2 SDLMain::WidthHeight() const noexcept {
|
||||
return static_cast<ushort2>(m_localData->sizeratio.Resolution());
|
||||
}
|
||||
|
||||
///------------------------------------------------------------------------
|
||||
///------------------------------------------------------------------------
|
||||
std::string SDLMain::GetVideoDriverName() const {
|
||||
return std::string(SDL_GetCurrentVideoDriver());
|
||||
}
|
||||
} //namespace cloonel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue