From d677b85b6643258cb9e4e74c86a165ac48613e69 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 5 Oct 2009 20:55:13 +0000 Subject: [PATCH] Add required stubs for OpenGL info to the windows platform stub. Originally committed to SVN as r3618. --- aegisub/reporter/platform_windows.cpp | 15 +++++++++++++++ aegisub/reporter/platform_windows.h | 8 +++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/aegisub/reporter/platform_windows.cpp b/aegisub/reporter/platform_windows.cpp index a6f08fc21..677cc68c3 100644 --- a/aegisub/reporter/platform_windows.cpp +++ b/aegisub/reporter/platform_windows.cpp @@ -82,3 +82,18 @@ wxString PlatformWindows::AntiVirus() { wxString PlatformWindows::Firewall() { return ""; }; +wxString PlatformWindows::OpenGLVendor() { + return ""; +}; + +wxString PlatformWindows::OpenGLRenderer() { + return ""; +}; + +wxString PlatformWindows::OpenGLVersion() { + return ""; +}; + +wxString PlatformWindows::OpenGLExt() { + return ""; +}; diff --git a/aegisub/reporter/platform_windows.h b/aegisub/reporter/platform_windows.h index 6496fa232..85235a364 100644 --- a/aegisub/reporter/platform_windows.h +++ b/aegisub/reporter/platform_windows.h @@ -20,7 +20,7 @@ class Platform; -/// @brief General Unix functions. +/// @brief General Windows functions. class PlatformWindows : public Platform { public: PlatformWindows() {}; @@ -37,6 +37,12 @@ public: virtual wxString CPUFeatures2(); virtual wxString Memory(); + // OpenGL + virtual wxString OpenGLVendor(); + virtual wxString OpenGLRenderer(); + virtual wxString OpenGLVersion(); + virtual wxString OpenGLExt(); + // Windows Specific virtual wxString ServicePack(); virtual wxString GraphicsVersion();