summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_util.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-10-06 04:33:47 +0200
committerbunnei <bunneidev@gmail.com>2015-10-22 03:53:14 +0200
commitc86b9d42423b5a83ccba40f828b7ad9dafe3e317 (patch)
tree04bdd0a99fa7fa36946422d0119b3d537dd99526 /src/video_core/renderer_opengl/gl_shader_util.h
parentgl_rasterizer: Move logic for creating ShaderCacheKey to a static function. (diff)
downloadyuzu-c86b9d42423b5a83ccba40f828b7ad9dafe3e317.tar
yuzu-c86b9d42423b5a83ccba40f828b7ad9dafe3e317.tar.gz
yuzu-c86b9d42423b5a83ccba40f828b7ad9dafe3e317.tar.bz2
yuzu-c86b9d42423b5a83ccba40f828b7ad9dafe3e317.tar.lz
yuzu-c86b9d42423b5a83ccba40f828b7ad9dafe3e317.tar.xz
yuzu-c86b9d42423b5a83ccba40f828b7ad9dafe3e317.tar.zst
yuzu-c86b9d42423b5a83ccba40f828b7ad9dafe3e317.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_util.h b/src/video_core/renderer_opengl/gl_shader_util.h
index ca62c83ba..6e2d007f8 100644
--- a/src/video_core/renderer_opengl/gl_shader_util.h
+++ b/src/video_core/renderer_opengl/gl_shader_util.h
@@ -6,7 +6,7 @@
#include <glad/glad.h>
-namespace ShaderUtil {
+namespace GLShader {
enum Attributes {
ATTRIBUTE_POSITION = 0,
@@ -14,6 +14,6 @@ enum Attributes {
ATTRIBUTE_TEXCOORDS = 2,
};
-GLuint LoadShaders(const char* vertex_file_path, const char* fragment_file_path);
+GLuint LoadProgram(const char* vertex_file_path, const char* fragment_file_path);
-}
+} // namespace