Skip to content

Commit

Permalink
Remove full check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkae committed Oct 13, 2023
1 parent f1f08a8 commit 6cc6303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/eglstream-kms/server/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ mge::DisplayPlatform::DisplayPlatform(

mge::DisplayPlatform::~DisplayPlatform()
{
if (display != EGL_NO_DISPLAY)
if (display)
{
eglTerminate(display);
display = nullptr;
Expand Down

0 comments on commit 6cc6303

Please sign in to comment.