Show video driver in ImGui backend
This commit is contained in:
parent
e3de8516c0
commit
c6ec09cd14
1 changed files with 2 additions and 0 deletions
|
@ -751,6 +751,8 @@ void MainLoop::GuiFunction() {
|
||||||
ImGui::SetCursorPosX((ImGui::GetWindowWidth() - ImGui::GetFont()->CalcTextSizeA(ImGui::GetFontSize(), FLT_MAX, 0.0f, VER_STRING.c_str()).x) / 2.0f);
|
ImGui::SetCursorPosX((ImGui::GetWindowWidth() - ImGui::GetFont()->CalcTextSizeA(ImGui::GetFontSize(), FLT_MAX, 0.0f, VER_STRING.c_str()).x) / 2.0f);
|
||||||
ImGui::TextUnformatted(VER_STRING.c_str());
|
ImGui::TextUnformatted(VER_STRING.c_str());
|
||||||
ImGui::NewLine();
|
ImGui::NewLine();
|
||||||
|
ImGui::Text("SDL video driver: %s", SDL_GetCurrentVideoDriver());
|
||||||
|
ImGui::NewLine();
|
||||||
auto &license_data = get_license_data();
|
auto &license_data = get_license_data();
|
||||||
// Left
|
// Left
|
||||||
static LicenseData selected = *license_data.begin();
|
static LicenseData selected = *license_data.begin();
|
||||||
|
|
Loading…
Reference in a new issue