Skip to content

Commit

Permalink
oaoaoao
Browse files Browse the repository at this point in the history
  • Loading branch information
Honkazel authored Jan 21, 2025
1 parent 6b12844 commit e2ef23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/drm/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void main() {

inline void loadGLProc(void* pProc, const char* name) {
void* proc = (void*)eglGetProcAddress(name);
if (proc == nullptr) {
if (!proc) {
gBackend->log(AQ_LOG_ERROR, std::format("eglGetProcAddress({}) failed", name));
abort();
}
Expand Down

0 comments on commit e2ef23c

Please sign in to comment.