mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
bind new system information functions
This commit is contained in:
@@ -55,6 +55,11 @@ public:
|
||||
const Size& getViewportSize() { return m_viewportSize; }
|
||||
TexturePtr& getEmptyTexture() { return m_emptyTexture; }
|
||||
|
||||
std::string getVendor() { return (const char*)glGetString(GL_VENDOR); }
|
||||
std::string getRenderer() { return (const char*)glGetString(GL_RENDERER); }
|
||||
std::string getVersion() { return (const char*)glGetString(GL_VERSION); }
|
||||
std::string getExtensions() { return (const char*)glGetString(GL_EXTENSIONS); }
|
||||
|
||||
bool canUseDrawArrays();
|
||||
bool canUseShaders();
|
||||
bool canUseFBO();
|
||||
|
Reference in New Issue
Block a user