mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user