mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Allow ImHex to be used without subpixel rendering on Windows if only OpenGL 3 is available
This commit is contained in:
@@ -443,6 +443,7 @@ EXPORT_MODULE namespace hex {
|
||||
|
||||
void setGPUVendor(const std::string &vendor);
|
||||
void setGLRenderer(const std::string &renderer);
|
||||
void setGLVersion(SemanticVersion version);
|
||||
|
||||
void addInitArgument(const std::string &key, const std::string &value = { });
|
||||
|
||||
@@ -594,6 +595,12 @@ EXPORT_MODULE namespace hex {
|
||||
*/
|
||||
const std::string& getGLRenderer();
|
||||
|
||||
/**
|
||||
* @brief Gets the current OpenGL version
|
||||
* @return The current OpenGL version
|
||||
*/
|
||||
const SemanticVersion& getGLVersion();
|
||||
|
||||
/**
|
||||
* @brief Checks if ImHex is being run in a "Corporate Environment"
|
||||
* This function simply checks for common telltale signs such as if the machine is joined a
|
||||
|
||||
Reference in New Issue
Block a user