citra/src/video_core/renderer_opengl/gl_shader_util.h

20 lines
386 B
C
Raw Normal View History

// Copyright 2014 Citra Emulator Project
2014-12-17 06:38:14 +01:00
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <glad/glad.h>
namespace ShaderUtil {
enum Attributes {
ATTRIBUTE_POSITION = 0,
ATTRIBUTE_COLOR = 1,
ATTRIBUTE_TEXCOORDS = 2,
};
GLuint LoadShaders(const char* vertex_file_path, const char* fragment_file_path);
}