Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_immediate.c
| Context not available. | |||||
| */ | */ | ||||
| #include "GPU_immediate.h" | #include "GPU_immediate.h" | ||||
| #include "GPU_matrix.h" | |||||
| #include "gpu_shader_private.h" | #include "gpu_shader_private.h" | ||||
| void immBindBuiltinProgram(GPUBuiltinShader shader_id) | void immBindBuiltinProgram(GPUBuiltinShader shader_id) | ||||
| { | { | ||||
| GPUShader *shader = GPU_shader_get_builtin_shader(shader_id); | GPUShader *shader = GPU_shader_get_builtin_shader(shader_id); | ||||
| immBindProgram(shader->program); | immBindProgram(shader->program); | ||||
| gpuBindMatrices(shader->program); | |||||
| } | } | ||||
| Context not available. | |||||