diff options
Diffstat (limited to 'source/blender/windowmanager/wm_draw.h')
-rw-r--r-- | source/blender/windowmanager/wm_draw.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_draw.h b/source/blender/windowmanager/wm_draw.h index 32c66a257e9..9b6bd66c0e5 100644 --- a/source/blender/windowmanager/wm_draw.h +++ b/source/blender/windowmanager/wm_draw.h @@ -28,6 +28,10 @@ struct GPUOffScreen; struct GPUTexture; struct GPUViewport; +#ifdef __cplusplus +extern "C" { +#endif + typedef struct wmDrawBuffer { struct GPUOffScreen *offscreen; struct GPUViewport *viewport; @@ -48,4 +52,8 @@ void wm_draw_region_test(struct bContext *C, struct ScrArea *area, struct ARegio struct GPUTexture *wm_draw_region_texture(struct ARegion *region, int view); +#ifdef __cplusplus +} +#endif + #endif /* __WM_DRAW_H__ */ |