Blender Git Commit Log

Git Commits -> Revision 6c65e5a

Revision 6c65e5a by Mike Erwin (master)
August 8, 2016, 02:11 (GMT)
GPU: bind builtin shader for immediate mode

immBindBuiltinProgram extends Gawain?s immBindProgram to use Blender?s
library of built-in shader programs.

It uses imm prefix instead of GPU_ so people won?t be tempted to call
GPU_unbind_program() afterward.

From my understanding, Apache code is not allowed to call GPL code, so
this function needs to be in the GPU lib.

Commit Details:

Full Hash: 6c65e5a00c40888f7b7a4d78adade9fdac7e296d
Parent Commit: 8e99eec
Lines Changed: +9, -10

2 Modified Paths:

/source/blender/gpu/GPU_shader.h (+4, -2) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+5, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021