From bd3a1b9490d96ca00748f405037379b743744877 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Fri, 7 Apr 2017 16:31:26 -0400 Subject: OpenGL: use PRIM instead of GL enum for immBegin Getting ready for a Gawain API change... Part of T49043 --- source/blender/editors/space_action/action_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_action') diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index 799756345c2..6d6d649b12a 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -334,7 +334,7 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *ar) if (saction->flag & SACTION_MOVING) { immUniformColor3f(0.0f, 0.0f, 0.0f); - immBegin(GL_LINES, 2); + immBegin(PRIM_LINES, 2); immVertex2f(pos, saction->timeslide, v2d->cur.ymin - EXTRA_SCROLL_PAD); immVertex2f(pos, saction->timeslide, v2d->cur.ymax); immEnd(); -- cgit v1.2.3