Details
Details
- Reviewers
Mike Erwin (merwin) - Maniphest Tasks
- T49043: replace OpenGL immediate mode in Blender 2.8
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| source/blender/editors/transform/transform.c | ||
|---|---|---|
| 1605 | Since you're using the new immVertex2s function, should be: unsigned pos = add_attrib(format, "pos", GL_SHORT, 2, CONVERT_INT_TO_FLOAT); or unsigned pos = add_attrib(format, "pos", COMP_I16, 2, CONVERT_INT_TO_FLOAT); If you build with "make debug" or "make lite debug" or (on Windows) "make 2015 lite debug" it will catch things like this at runtime. | |
| 1647 | same here | |
| 6860–6862 | GL_FLOAT (or COMP_F32), 3, KEEP_FLOAT GPU_SHADER_3D_UNIFORM_COLOR Debug build will catch things like this. Would it be better if I enabled more error checking for non-debug builds too? | |
| 7480 | Call immThemeColorShadeAlpha after immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR). | |
| 7483–7485 | Same as above, use 3D versions of these. | |
| 7546 | Use imm_cpack here. | |