Blender Git Loki

Git Commits -> Revision 9105633

Revision 9105633 by Dalai Felinto (master)
April 10, 2017, 06:45 (GMT)
Add stubs to build WITH_GL_PROFILE_CORE

This is an auto-generated list, crossing gl-deprecated.h, glew.h and the
Blender code. It allows Blender to build with core profile.

WITH_OPENGL_LEGACY=ON: nothing changes

WITH_OPENGL_LEGACY=OFF and WITH_GL_PROFILE_CORE=OFF:
It stubs deprecated legacy calls.

WITH_OPENGL_LEGACY=OFF and WITH_GL_PROFILE_CORE=ON:
It stubs deprecated legacy calls thus allowing Blender to build with
core profile only.

Technically you only want to use WITH_OPENGL_LEGACY=OFF when
WITH_GL_PROFILE_CORE=ON. But it doesn't hurt to have it working for both
scenarios.

Reviewed by: merwin

Differential Revision: https://developer.blender.org/D2610

Commit Details:

Full Hash: 91056337a8e6a608c71aa1d8e73954882d21d308
Parent Commit: 15bcfaa
Lines Changed: +343, -157

2 Modified Paths:

/intern/glew-mx/glew-mx.h (+1, -1) (Diff)
/source/blender/gpu/GPU_legacy_stubs.h (+342, -156) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021