[osg-users] OSX/X11 graphics context not updating after window resize

Ravi Mathur ravidavi at utexas.edu
Fri Jul 15 21:59:45 PDT 2016

Well I'm dumb. Turns out, I was using CMake to find OpenGL, which linked to the Cocoa version of GL instead of X11 like I needed. After linking to the correct OpenGL libraries, I no longer need to call glXMakeCurrent; glViewport does the job like it's supposed to.

Just thought I'd share for posterity. :)

Read this topic online here:

More information about the osg-users mailing list