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_matrix.h" | ||||
| #include "UI_resources.h" | #include "UI_resources.h" | ||||
| #include "BLI_utildefines.h" | |||||
| #include "gpu_shader_private.h" | #include "gpu_shader_private.h" | ||||
| Context not available. | |||||
| UI_GetThemeColorBlend3ubv(color_id1, color_id2, fac, color); | UI_GetThemeColorBlend3ubv(color_id1, color_id2, fac, color); | ||||
| immUniformColor3ubv(color); | immUniformColor3ubv(color); | ||||
| } | } | ||||
| void immThemeColorShadeAlpha(int colorid, int coloffset, int alphaoffset) | |||||
| { | |||||
| unsigned char col[4]; | |||||
| UI_GetThemeColorShadeAlpha4ubv(colorid, coloffset, alphaoffset, col); | |||||
| immUniformColor4ub(col[0], col[1], col[2], col[3]); | |||||
| } | |||||
| Context not available. | |||||