The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
14 lines
277 B
C++
14 lines
277 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <glad/glad.h>
|
|
|
|
namespace ShaderUtil {
|
|
|
|
GLuint LoadShaders(const char* vertex_file_path, const char* fragment_file_path);
|
|
|
|
}
|