summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-12-18 19:56:01 -0600
committerGitHub <noreply@github.com>2024-12-19 02:56:01 +0100
commit5b714f05f87831e3e930af04649f853d5efb9902 (patch)
tree6a84cc910bcd00daaa94df98c6c13c6fbd6dfdbc /src/render/OpenGL.cpp
parent7c43eed2c1e6c56ab56d1bded4a6701b5598b1c3 (diff)
internal: Make static analysis more happy (#8767)
* make functions used in 1 file static * fix invalid substr param -1 * give default initializer to borderGradier * move RASSERT from printf to std::print
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index 9511123c..4339fd40 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -21,7 +21,7 @@ const std::vector<const char*> ASSET_PATHS = {
"/usr/local/share",
};
-inline void loadGLProc(void* pProc, const char* name) {
+static inline void loadGLProc(void* pProc, const char* name) {
void* proc = (void*)eglGetProcAddress(name);
if (proc == nullptr) {
Debug::log(CRIT, "[Tracy GPU Profiling] eglGetProcAddress({}) failed", name);