diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 10:31:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 11:20:20 +0300 |
commit | 9d309b7978717f0c79899c62fe13a8c0a40dad89 (patch) | |
tree | 762b9b87d3cc5b4a7182feea241983e3d89ba0ce /source/blender/draw/engines/external/external_engine.c | |
parent | 7a5854f4ce3e70b0ec6b18a688c79808d4110ff9 (diff) |
Cleanup: quiet undeclared variable warning
Also move view_ubo into G_draw.
Diffstat (limited to 'source/blender/draw/engines/external/external_engine.c')
-rw-r--r-- | source/blender/draw/engines/external/external_engine.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/draw/engines/external/external_engine.c b/source/blender/draw/engines/external/external_engine.c index 898cbdba1a5..0100fa095e6 100644 --- a/source/blender/draw/engines/external/external_engine.c +++ b/source/blender/draw/engines/external/external_engine.c @@ -28,13 +28,14 @@ #include "DNA_screen_types.h" #include "DNA_view3d_types.h" - #include "ED_screen.h" #include "GPU_matrix.h" #include "GPU_shader.h" #include "GPU_viewport.h" +#include "external_engine.h" /* own include */ + /* Shaders */ #define EXTERNAL_ENGINE "BLENDER_EXTERNAL" @@ -197,7 +198,7 @@ static void external_engine_free(void) static const DrawEngineDataSize external_data_size = DRW_VIEWPORT_DATA_SIZE(EXTERNAL_Data); -DrawEngineType draw_engine_external_type = { +static DrawEngineType draw_engine_external_type = { NULL, NULL, N_("External"), &external_data_size, |