mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Expose OpenGL debugging as a normal setting
This commit is contained in:
parent
ecfe9c5c2f
commit
7a6ca85081
11 changed files with 49 additions and 95 deletions
|
@ -224,9 +224,6 @@ public:
|
|||
//! checks if an OpenGL error has happened and prints it (+ some internal code which is usually the line number)
|
||||
bool testGLError(int code = 0);
|
||||
|
||||
//! checks if an OGLES1 error has happened and prints it
|
||||
bool testEGLError();
|
||||
|
||||
//! Set/unset a clipping plane.
|
||||
bool setClipPlane(u32 index, const core::plane3df &plane, bool enable = false) override;
|
||||
|
||||
|
@ -385,7 +382,7 @@ private:
|
|||
|
||||
void printTextureFormats();
|
||||
|
||||
void addDummyMaterial(E_MATERIAL_TYPE type);
|
||||
bool EnableErrorTest;
|
||||
|
||||
unsigned QuadIndexCount;
|
||||
GLuint QuadIndexBuffer = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue