include header and replaced glColor3ubv
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
You will need to replace glRecti which is where the "fun" begins (you will need to bind a program, pass a vertex format, ...).
Also @Fable Fox (fablefox) please edit the wiki to claim this file for you: https://wiki.blender.org/index.php/Dev:2.8/Source/OpenGL/Immediate_Mode_Replacement_Tasks
Comment Actions
I have to leave this OpenGL replacement job as-is due to work and also I'm taking OCA 12c exam end of this month (also related to day work). Glad to see it progress well on the task page.
Comment Actions
Think we could search for way to reuse the same program more. But for now this seems to be a replacement that works
| source/blender/editors/space_console/console_draw.c | ||
|---|---|---|
| 176 | Could use the UNIFORM_COLOR shader here. Related changes:
| |