From 4184f890fdbef7409af27f1e9a13b01161001ef2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 11 Mar 2020 14:52:57 +1100 Subject: GPU: minor changes to support standalone GHOST builds - Move gpuPush/Pop from GPU_draw.h into GPU_state.h as this is for pushing/popping state. - Add 'GPU_STANDALONE' define, to bypass use of user-preferences for theme colors and pixelsize, as well as pbvh init/free functions. Needed to get GHOST tests working again. --- source/blender/gpu/intern/gpu_select_pick.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/intern/gpu_select_pick.c') diff --git a/source/blender/gpu/intern/gpu_select_pick.c b/source/blender/gpu/intern/gpu_select_pick.c index 1fb83b628e1..498de13e10f 100644 --- a/source/blender/gpu/intern/gpu_select_pick.c +++ b/source/blender/gpu/intern/gpu_select_pick.c @@ -30,6 +30,7 @@ #include "GPU_immediate.h" #include "GPU_draw.h" #include "GPU_select.h" +#include "GPU_state.h" #include "GPU_glew.h" #include "MEM_guardedalloc.h" -- cgit v1.2.3