Blender Git Loki

Git Commits -> Revision 0d5c5a8

Revision 0d5c5a8 by Mike Erwin (master)
April 27, 2017, 18:21 (GMT)
OpenGL: early exit from functions that don't mix with core profile

These parts will not be part of final viewport, but are called indirectly during the transition. To avoid runtime errors on core profile, exit early -- functions effectively do nothing.

I put the early exits inside the functions to avoid cluttering the code that calls these. But (long term) the calling functions need to change.

Basic shader's detect_options function was unused and full of old, so I deleted it.

Part of T51164

Commit Details:

Full Hash: 0d5c5a8438badf5e4921a96b9d4648d1d0dc3aee
Parent Commit: 99fde39
Lines Changed: +17, -25

2 Modified Paths:

/source/blender/editors/space_view3d/drawmesh.c (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_basic_shader.c (+12, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021