mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 12:18:30 +09:00
[Feat] (...): Basic ability to load GLES/EGL.
This commit is contained in:
+7
-1
@@ -1,12 +1,18 @@
|
||||
#include "Includes.h"
|
||||
#include <MG_Backend/Backends.h>
|
||||
#include <MG_State/GLState/Core.h>
|
||||
|
||||
namespace MobileGL {
|
||||
void MG_Initialize() {
|
||||
MG_Util::Debug::InitFile();
|
||||
MGLOG_I("MobileGL Initializing...");
|
||||
MGLOG_I("Initializing MobileGL...");
|
||||
MG_State::Init();
|
||||
MGLOG_D("MobileGL State initialized");
|
||||
MG_Backend::Init();
|
||||
MGLOG_D("MobileGL Backend initialized");
|
||||
glslang::InitializeProcess();
|
||||
MGLOG_D("glslang initialized");
|
||||
MGLOG_I("MobileGL Initialized");
|
||||
}
|
||||
|
||||
void MG_Destroy() {
|
||||
|
||||
Reference in New Issue
Block a user