← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/opengl_debug into lp:widelands

 

The proposal to merge lp:~widelands-dev/widelands/opengl_debug into lp:widelands has been updated.

Commit Message changed to:

- Fixes a bug: We never created zero sized textures, but sometimes we tried to render on them. This is uncritical, theoretically, but I fixed it anyways.
- Added a new undocumented command line argument --debug_gl_trace which will log every OpenGL call that is made, together with arguments, return values and glError status. This requires that Widelands is build using -DOPTION_USE_GLBINDING:BOOL=ON. It is a NoOp for GLEW. This will help debugging non-reproducible OpenGL errors that are reported. Tested with glbinding 1.1.0.
- More logging when OpenGL is initialized.
- Pulls out OpenGL initialization into a separate unit.

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/opengl_debug/+merge/283738
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/opengl_debug into lp:widelands.


References