diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-03 16:38:00 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-03 22:52:03 +0300 |
commit | eca256bc327813f2d3ce29e8e89e07c4c0294403 (patch) | |
tree | 152bc878fd252df801fd9df9a8d4809fd7fe1e3d /source/blender/editors | |
parent | 8e0bfee1e5e68a4208a10951586d1b7504222a89 (diff) |
GPULamp: Separate GPULamp from GPUMaterial
Since we need GPULamps for draw engines, it makes sense to separate them.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/object/object_add.c | 2 | ||||
-rw-r--r-- | source/blender/editors/render/render_update.c | 1 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw_legacy.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index adfd213ff3e..4852ae0741e 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -115,7 +115,7 @@ #include "UI_resources.h" -#include "GPU_material.h" +#include "GPU_lamp.h" #include "object_intern.h" diff --git a/source/blender/editors/render/render_update.c b/source/blender/editors/render/render_update.c index 899b9e0ece7..46c3417e8c2 100644 --- a/source/blender/editors/render/render_update.c +++ b/source/blender/editors/render/render_update.c @@ -55,6 +55,7 @@ #include "BKE_paint.h" #include "BKE_scene.h" +#include "GPU_lamp.h" #include "GPU_material.h" #include "GPU_buffers.h" diff --git a/source/blender/editors/space_view3d/view3d_draw_legacy.c b/source/blender/editors/space_view3d/view3d_draw_legacy.c index 3d43bc011e6..edf2273cd35 100644 --- a/source/blender/editors/space_view3d/view3d_draw_legacy.c +++ b/source/blender/editors/space_view3d/view3d_draw_legacy.c @@ -97,6 +97,7 @@ #include "GPU_draw.h" #include "GPU_framebuffer.h" +#include "GPU_lamp.h" #include "GPU_material.h" #include "GPU_compositing.h" #include "GPU_extensions.h" |