[Feat] (MG_Backend/DirectGLES): ErrorLooper

This commit is contained in:
2025-11-16 18:36:06 +08:00
parent 95e086442c
commit 37e0312c72
2 changed files with 96 additions and 0 deletions
+10
View File
@@ -3,6 +3,16 @@
#include <MG_State/GLState/Core.h>
namespace MobileGL::MG_Backend::DirectGLES {
namespace DebugImpl {
class ErrorLopper {
public:
void Loop(std::function<void(GLenum)>);
void Clear();
ErrorLopper();
~ErrorLopper();
};
}
namespace BufferImpl {
class BackendBufferBindingProtector {
public: