mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
20 lines
372 B
C
20 lines
372 B
C
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include <gl\GL.h>
|
||
|
#include "Mangle.h"
|
||
|
|
||
|
namespace MGL
|
||
|
{
|
||
|
// A class that handles initializing the OpenGL extensions
|
||
|
class Mangler
|
||
|
{
|
||
|
public:
|
||
|
// Loads the required OpenGL extensions.
|
||
|
static bool Initalize();
|
||
|
|
||
|
private:
|
||
|
// Internal routine to load a proc address from OpenGL
|
||
|
static uintptr_t LoadOpenGLProc(const char* Name);
|
||
|
};
|
||
|
}
|