Skip to content

Commit

Permalink
Fix minor lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Dec 11, 2024
1 parent 7dfbec4 commit c6dd2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscar/Graphics/GraphicsImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5929,7 +5929,7 @@ namespace
// initialize GLAD
//
// this effectively loads the extensions this application requires at runtime
if (gladLoadGLLoader((GLADloadproc)SDL_GL_GetProcAddress) == 0) {
if (gladLoadGLLoader(reinterpret_cast<GLADloadproc>(SDL_GL_GetProcAddress)) == 0) {
std::stringstream ss;
ss << "gladLoadGLLoader() failed: (no error message available)";
throw std::runtime_error{ss.str()};
Expand Down

0 comments on commit c6dd2cb

Please sign in to comment.