bind new system information functions

This commit is contained in:
Eduardo Bart
2012-06-06 22:01:49 -03:00
parent 321c09e471
commit a8b9dcbf17
5 changed files with 13 additions and 5 deletions

View File

@@ -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();