Blender Git Commit Log
Git Commits -> Revision a6ebc9a
Revision a6ebc9a by Joshua Leung (master) February 27, 2015, 00:14 (GMT) |
Compile fixes for mingw64 * m_hDC was always included after m_hWnd in all the constructors and other functions, but the order was reversed in the struct, meaning that they would not get initialised correctly * Got rid of the gotos for the error handling case in initializeDrawingContext() This was causing "jump to label ... crosses initialisation" errors for the calls to get GL version string info (i.e. const char *vendor = ...; etc.) I wasn't sure if those glGetString calls needed the rest of the context to be defined first, so I decided to leave them where they are now, and got rid of the gotos (which were making this particular piece of code a bit confusing) instead. TODO: There are still a bunch of warnings about around 660, which I haven't managed to solve (but at least they won't prevent Blender from compiling) narrowing conversion of '(stereoVisual ? 1063 : 1061)' from 'int' to 'DWORD {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] |
Commit Details:
Full Hash: a6ebc9a813fab5e3d56b347b763ce4e99704e69e
Parent Commit: 7aa91f5
Lines Changed: +25, -18