impr: Better detection of Intel GPUs with really bad driver bugs

This commit is contained in:
WerWolv
2024-06-22 22:58:45 +02:00
parent 65dfd4da0f
commit a9915579a0
4 changed files with 52 additions and 11 deletions

View File

@@ -434,6 +434,7 @@ namespace hex {
void setInitialWindowProperties(InitialWindowProperties properties);
void setGPUVendor(const std::string &vendor);
void setGLRenderer(const std::string &renderer);
void addInitArgument(const std::string &key, const std::string &value = { });
@@ -573,6 +574,12 @@ namespace hex {
*/
const std::string& getGPUVendor();
/**
* @brief Gets the current GPU vendor
* @return The current GPU vendor
*/
const std::string& getGLRenderer();
/**
* @brief Checks if ImHex is running in portable mode
* @return Whether ImHex is running in portable mode