Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/render/render_opengl.c
| Context not available. | |||||
| gpuTranslate2f(sizex / 2, sizey / 2); | gpuTranslate2f(sizex / 2, sizey / 2); | ||||
| G.f |= G_RENDER_OGL; | G.f |= G_RENDER_OGL; | ||||
| ED_gpencil_draw_ex(scene, gpd, sizex, sizey, scene->r.cfra, SPACE_SEQ); | ED_gpencil_draw_ex(rv3d, scene, gpd, sizex, sizey, scene->r.cfra, SPACE_SEQ); | ||||
| G.f &= ~G_RENDER_OGL; | G.f &= ~G_RENDER_OGL; | ||||
| gp_rect = MEM_mallocN(sizex * sizey * sizeof(unsigned char) * 4, "offscreen rect"); | gp_rect = MEM_mallocN(sizex * sizey * sizeof(unsigned char) * 4, "offscreen rect"); | ||||
| Context not available. | |||||