Commits

thecoshman committed 7fc32cd

call to 'glXDestroyContext' was missing 'Display*' paramter
Project now builds under Linux, though it is currently not tested

  • Participants
  • Parent commits a38ecb5

Comments (0)

Files changed (1)

File src/linux/window_factory_impl.cpp

         GLXContext context = glXCreateContextAttribsARB(display, fb_config, 0, True, context_attribs);
         GLSKEL_THROW_IF(!context, "glXCreateContextAttribsARB failed.");
         glXMakeCurrent(display, window, context);
-        glXDestroyContext(boot_context);
+        glXDestroyContext(display, boot_context);
 
         init_context_functions(display);