diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-30 15:32:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-30 19:17:49 +0300 |
commit | 08862b8246b49331ddfb7ed6812c9e31989bf8b1 (patch) | |
tree | cdb01c144101c0be9878538c1bc1ef3026929250 /source/blender/draw/engines/external/external_engine.c | |
parent | 85ce4d957cee0de45b620d30af4061253ff8b18f (diff) |
Render API: rename some API functions back to earlier names.
Their purpose is the same, no reason to break API compatibility here.
Diffstat (limited to 'source/blender/draw/engines/external/external_engine.c')
-rw-r--r-- | source/blender/draw/engines/external/external_engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/external/external_engine.c b/source/blender/draw/engines/external/external_engine.c index 420209279ad..2917805d233 100644 --- a/source/blender/draw/engines/external/external_engine.c +++ b/source/blender/draw/engines/external/external_engine.c @@ -153,7 +153,7 @@ static void external_draw_scene_do(void *vedata) if (!rv3d->render_engine) { RenderEngineType *engine_type = draw_ctx->engine_type; - if (!(engine_type->view_update && engine_type->render_to_view)) { + if (!(engine_type->view_update && engine_type->view_draw)) { return; } @@ -170,7 +170,7 @@ static void external_draw_scene_do(void *vedata) /* Render result draw. */ type = rv3d->render_engine->type; - type->render_to_view(rv3d->render_engine, draw_ctx->evil_C); + type->view_draw(rv3d->render_engine, draw_ctx->evil_C); gpuPopProjectionMatrix(); |