summaryrefslogtreecommitdiff
path: root/gfx/gl/shader-source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shader-source.h')
-rw-r--r--gfx/gl/shader-source.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gfx/gl/shader-source.h b/gfx/gl/shader-source.h
index f22cc3b..524025c 100644
--- a/gfx/gl/shader-source.h
+++ b/gfx/gl/shader-source.h
@@ -14,14 +14,4 @@ struct GLsource {
[[nodiscard]] ShaderRef compile() const;
};
-constexpr auto
-constexpr_strlen(const GLchar * const s)
-{
- std::size_t ch {};
- while (s[ch]) {
- ch++;
- }
- return ch;
-}
-
#endif