mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-13 14:48:32 +09:00
[Refactor] (All): Restructure include system.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "../../../Includes.h"
|
||||
#include <Includes.h>
|
||||
#include "../LookUp/LookUp.h"
|
||||
|
||||
MOBILEGL_GLX_API void* glXGetProcAddress(const char* name) {
|
||||
return MG_Impl::GLXImpl::GetProcAddress(name);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "../../../Includes.h"
|
||||
#include "LookUp.h"
|
||||
|
||||
namespace MG_Impl::GLXImpl {
|
||||
// TODO: Implement complete glx functionality
|
||||
// TODO: Implement complete GLX functionality
|
||||
|
||||
void* GetProcAddress(const char* name) {
|
||||
MGLOG_D("glXGetProcAddress(\"%s\")", name);
|
||||
@@ -18,4 +18,4 @@ namespace MG_Impl::GLXImpl {
|
||||
void* GetProcAddressARB(const char* name) {
|
||||
return GetProcAddress(name);
|
||||
}
|
||||
}
|
||||
} // namespace MG_Impl::GLXImpl
|
||||
@@ -1,8 +1,9 @@
|
||||
#pragma once
|
||||
#include <Includes.h>
|
||||
|
||||
namespace MG_Impl {
|
||||
namespace GLXImpl {
|
||||
void* GetProcAddress(const char* name);
|
||||
void* GetProcAddressARB(const char* name);
|
||||
}
|
||||
}
|
||||
} // namespace GLXImpl
|
||||
} // namespace MG_Impl
|
||||
Reference in New Issue
Block a user