Cleanup: replace attrib w/ attr
[blender.git] / source / blender / draw / intern / draw_manager.c
index 09809a4..9d85f95 100644 (file)
@@ -1765,7 +1765,7 @@ void DRW_render_gpencil(struct RenderEngine *engine, struct Depsgraph *depsgraph
        drw_viewport_var_init();
 
        /* set default viewport */
-       gpuPushAttrib(GPU_ENABLE_BIT | GPU_VIEWPORT_BIT);
+       gpuPushAttr(GPU_ENABLE_BIT | GPU_VIEWPORT_BIT);
        glDisable(GL_SCISSOR_TEST);
        glViewport(0, 0, size[0], size[1]);
 
@@ -1790,7 +1790,7 @@ void DRW_render_gpencil(struct RenderEngine *engine, struct Depsgraph *depsgraph
        glDisable(GL_DEPTH_TEST);
 
        /* Restore Drawing area. */
-       gpuPopAttrib();
+       gpuPopAttr();
        glEnable(GL_SCISSOR_TEST);
        GPU_framebuffer_restore();