Blender Git Commit Log

Git Commits -> Revision 8cfcc44

Revision 8cfcc44 by Mike Erwin (master)
December 6, 2015, 23:02 (GMT)
OpenGL: new GPU_legacy_support() function

Is current context compatible with legacy GL (version 2.1)?

My earlier approach -- checking for GLEW_ARB_compatibility -- was not
enough.

This should always return true if we set our GL context up properly. It
will return false when we switch to core profile.

Commit Details:

Full Hash: 8cfcc444c63fc6346f70899d593c3adaf1f4c748
Parent Commit: 1858823
Lines Changed: +25, -3

2 Modified Paths:

/source/blender/gpu/GPU_extensions.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+24, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021