widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #14386
[Merge] lp:~widelands-dev/widelands/appveyor_glbinding into lp:widelands
GunChleoc has proposed merging lp:~widelands-dev/widelands/appveyor_glbinding into lp:widelands.
Commit message:
Another attempt at fixing AppVeyor
Requested reviews:
Widelands Developers (widelands-dev)
Related bugs:
Bug #1789835 in widelands: "Appveyor glbinding incompatible with WL code"
https://bugs.launchpad.net/widelands/+bug/1789835
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/appveyor_glbinding/+merge/354169
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/appveyor_glbinding into lp:widelands.
=== modified file 'src/graphic/gl/initialize.cc'
--- src/graphic/gl/initialize.cc 2018-08-28 07:53:33 +0000
+++ src/graphic/gl/initialize.cc 2018-09-03 06:58:32 +0000
@@ -48,7 +48,10 @@
SDL_GL_MakeCurrent(sdl_window, gl_context);
#ifdef USE_GLBINDING
- glbinding::Binding::initialize();
+ // Documentation:
+ // https://github.com/cginternals/glbinding
+ // https://glbinding.org/
+ glbinding::Binding::initialize(glbinding::getCurrentContext());
// The undocumented command line argument --debug_gl_trace will set
// Trace::kYes. This will log every OpenGL call that is made, together with
Follow ups