Minor pre-emptive fixes for GL3.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-05 22:33:10 -04:00
parent 656668b8c8
commit 8c204efafb
4 changed files with 47 additions and 4 deletions
+7
View File
@@ -347,6 +347,11 @@ public:
void updateTextureMemorySize(size_t oldsize, size_t newsize);
/**
* Gets whether the context is Core Profile OpenGL 3.2+.
**/
bool isCoreProfile() const;
/**
* Get the GPU vendor of this OpenGL context.
**/
@@ -385,6 +390,8 @@ private:
int maxTextureUnits;
float maxPointSize;
bool coreProfile;
Vendor vendor;
// Tracked OpenGL state.