Skip to content

Commit

Permalink
Added missing CreateOffscreenContextWGL()
Browse files Browse the repository at this point in the history
  • Loading branch information
kintel committed Apr 3, 2023
1 parent 87bacd4 commit ad4a0c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/glview/OffscreenContextFactory.cc
Expand Up @@ -70,6 +70,9 @@ std::shared_ptr<OpenGLContext> create(const std::string& provider, const Offscre
#endif
#ifdef _WIN32
if (provider == "wgl-old") {
return offscreen_old::CreateOffscreenContextWGL(attrib.width, attrib.height,
attrib.majorGLVersion, attrib.minorGLVersion,
attrib.compatibilityProfile);
}
else
#endif
Expand Down

0 comments on commit ad4a0c6

Please sign in to comment.