Add another test for gl errors in debug.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6048 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2020-01-06 14:27:20 +00:00
parent 50f4bdecbe
commit 5db5cbadf5

View File

@ -261,6 +261,9 @@ public:
AssignedDepth = false;
AssignedStencil = false;
}
#ifdef _DEBUG
Driver->testGLError(__LINE__);
#endif
RequestDepthStencilUpdate = false;
}