diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-04-10 13:21:13 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-04-10 13:21:13 +0300 |
commit | f87815705b8fcdc4f4a527303429a32ecca3fd88 (patch) | |
tree | 6b146c24c2978ec144426b267650965a7e86a6af /source/blender/editors/space_time | |
parent | b6ba507c1be23fd9e6af975ed9dddcf7a57cf8f3 (diff) |
Make build with GL 3.3 again
This is a workaround while the PRIM_QUADS_XXX are still in the code
Diffstat (limited to 'source/blender/editors/space_time')
-rw-r--r-- | source/blender/editors/space_time/space_time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index b0280d387e7..a47fd3a2e34 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -214,6 +214,7 @@ static void time_draw_cache(SpaceTime *stime, Object *ob, Scene *scene) immUniformColor4fv(col); +#ifdef WITH_GL_PROFILE_COMPAT if (len > 0) { immBeginAtMost(PRIM_QUADS_XXX, len); @@ -229,6 +230,7 @@ static void time_draw_cache(SpaceTime *stime, Object *ob, Scene *scene) immEnd(); } +#endif glDisable(GL_BLEND); |