[Improvement] (MG_Backend): Separate Initialize and InitCapabilities.

This commit is contained in:
BZLZHH
2026-02-20 15:26:46 +08:00
parent e34f3d915c
commit 60f06d1b8d
6 changed files with 20 additions and 109 deletions
+1 -1
View File
@@ -10,7 +10,6 @@
#include <Includes.h>
namespace MobileGL {
enum class BackendType {
DirectGLES,
BackendTypeCount,
@@ -91,6 +90,7 @@ namespace MobileGL {
virtual ~BackendObject() = default;
virtual void Initialize() = 0;
virtual void InitCapabilities() = 0;
virtual void InitWindowSurface() = 0;
void SetWindowHandle(const WindowHandle& handle);