Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/drawmesh.c
| Context not available. | |||||
| memcpy(Gtexdraw.obcol, obcol, sizeof(obcol)); | memcpy(Gtexdraw.obcol, obcol, sizeof(obcol)); | ||||
| set_draw_settings_cached(1, NULL, NULL, Gtexdraw); | set_draw_settings_cached(1, NULL, NULL, Gtexdraw); | ||||
| glShadeModel(GL_SMOOTH); | |||||
| glCullFace(GL_BACK); | glCullFace(GL_BACK); | ||||
| } | } | ||||
| Context not available. | |||||
| GPU_set_tpage(NULL, 0, 0); | GPU_set_tpage(NULL, 0, 0); | ||||
| } | } | ||||
| glShadeModel(GL_FLAT); | |||||
| glDisable(GL_CULL_FACE); | glDisable(GL_CULL_FACE); | ||||
| GPU_basic_shader_bind(GPU_SHADER_USE_COLOR); | GPU_basic_shader_bind(GPU_SHADER_USE_COLOR); | ||||
| Context not available. | |||||