Skip to content

Commit

Permalink
dynamicEglGetProcAddress only for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsando committed Sep 16, 2024
1 parent 067a6ab commit df005b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions project/src/opengl/OpenGLContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,11 @@ bool InitDynamicGLES()
#endif
}

#ifdef HX_WINDOWS
return dynamicEglGetProcAddress;
#else
return false;
#endif
}

bool InitOGLFunctions()
Expand Down

0 comments on commit df005b6

Please sign in to comment.