Blender Git Commit Log

Git Commits -> Revision 75a759e

Revision 75a759e by Mike Erwin (master)
April 25, 2017, 02:30 (GMT)
OpenGL: better context creation on Windows

Compatibility profile was working fine, this is mostly to get the highest GL core profile version available.

Our minimum requirement is 3.3 core profile. When we request a specific GL version:
- AMD and Intel give us exactly this version
- NVIDIA gives at least this version <-- desired behavior
so we ask for 4.5, 4.4 ... 3.3 in descending order to get the best version on the user's system.

Accept OpenGL 3.0 on Mesa instead of 3.3+ compatibility profile. (requested by @LazyDodo) This will be removed after we finish moving to core profile.

Part of T49012 and T51164

Commit Details:

Full Hash: 75a759ea5e9a4b4a52900e6383d67c81b7cbdabe
Parent Commit: 9c87bb1
Lines Changed: +63, -20

2 Modified Paths:

/intern/ghost/intern/GHOST_ContextWGL.cpp (+8, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+55, -20) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021