diff options
author | Jesse Talavera-Greenberg <jesse@jesse.tg> | 2023-11-25 12:32:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-25 18:32:09 +0100 |
commit | 346dd4006ea1283136095d5c43f602324a095092 (patch) | |
tree | edf04631782bbfcdb48eac79b79aebb11b40f479 /src/GPU3D_OpenGL_shaders.h | |
parent | 651b0f680c4531558990a5beb0e638968009dc51 (diff) |
Move all core types into namespaces (#1886)
* Reorganize namespaces
- Most types are now moved into the `melonDS` namespace
- Only good chance to do this for a while, since a big refactor is next
* Fix the build
Diffstat (limited to 'src/GPU3D_OpenGL_shaders.h')
-rw-r--r-- | src/GPU3D_OpenGL_shaders.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GPU3D_OpenGL_shaders.h b/src/GPU3D_OpenGL_shaders.h index 8131381..13492b7 100644 --- a/src/GPU3D_OpenGL_shaders.h +++ b/src/GPU3D_OpenGL_shaders.h @@ -21,7 +21,8 @@ #define kShaderHeader "#version 140" - +namespace melonDS +{ const char* kClearVS = kShaderHeader R"( in vec2 vPosition; @@ -802,5 +803,5 @@ void main() gl_FragDepth = fZ; } )"; - +} #endif // GPU3D_OPENGL_SHADERS_H |