Skip to content

Commit

Permalink
add error check to egl initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Mar 17, 2024
1 parent 5a00216 commit 1eb2f2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render/opengl/gl_engine_egl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ void GLEngineEGL::initialize() {
EGLint majorVer, minorVer;
bool success = eglInitialize(eglDisplay, &majorVer, &minorVer);
if (!success) {
checkEGLError(false);
exception("ERROR: Failed to initialize EGL");
}
checkEGLError();
Expand Down

0 comments on commit 1eb2f2e

Please sign in to comment.