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
This commit is contained in:
Ikalco
2024-12-18 19:56:01 -06:00
committed by GitHub
parent 7c43eed2c1
commit 5b714f05f8
14 changed files with 59 additions and 57 deletions

View File

@@ -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);