From 3f567535da163df7e77fe9438cc80fb8b2c67b87 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 3 May 2017 02:50:29 +1000 Subject: Draw Manager: OpenGL render support Works for clay-engine but doesn't draw objects with eevee. --- source/blender/gpu/GPU_framebuffer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/gpu/GPU_framebuffer.h') diff --git a/source/blender/gpu/GPU_framebuffer.h b/source/blender/gpu/GPU_framebuffer.h index 349e11ceb44..92f5d8a3796 100644 --- a/source/blender/gpu/GPU_framebuffer.h +++ b/source/blender/gpu/GPU_framebuffer.h @@ -84,6 +84,10 @@ int GPU_offscreen_width(const GPUOffScreen *ofs); int GPU_offscreen_height(const GPUOffScreen *ofs); int GPU_offscreen_color_texture(const GPUOffScreen *ofs); +void GPU_offscreen_viewport_data_get( + GPUOffScreen *ofs, + GPUFrameBuffer **r_fb, struct GPUTexture **r_color, struct GPUTexture **r_depth); + #ifdef __cplusplus } #endif -- cgit v1.2.3