separate GPUModel and WineVer, plus a little cleanup

This commit is contained in:
somewhatlurker
2020-08-01 01:09:55 +10:00
parent fb902802f3
commit 2c3fe62372
4 changed files with 104 additions and 71 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include "SkinnedMessageBox.h"
#include "PluginConfig.h"
#include "GPUModel.h"
#include "WineVer.h"
namespace Launcher {
@@ -174,7 +175,7 @@ namespace Launcher {
String^ gpuModel = gcnew String(GPUModel::getGpuName().c_str());
String^ wineVersion = gcnew String(GPUModel::getWineVer().c_str());
String^ wineVersion = gcnew String(WineVer::getWineVer().c_str());
glutDestroyWindow(window); // destroy the window so it doesn't remain on screen
if (glutMainLoopEventDynamic != NULL) glutMainLoopEventDynamic(); // freeglut needs this