mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Minor pre-emptive fixes for GL3.
--HG-- branch : minor
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user