From 35481fde40c78e004230d7909e7b7d83438cc64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 2 Jul 2020 17:28:30 +0200 Subject: GPUOffScreen: Remove the sample parameter This is because the DRW module is no longer compatible with drawing using MSAA. This also change the Python API. --- source/blender/gpu/GPU_framebuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 213cbe30794..fcbe3ef2a78 100644 --- a/source/blender/gpu/GPU_framebuffer.h +++ b/source/blender/gpu/GPU_framebuffer.h @@ -195,7 +195,7 @@ void GPU_framebuffer_recursive_downsample(GPUFrameBuffer *fb, */ GPUOffScreen *GPU_offscreen_create( - int width, int height, int samples, bool depth, bool high_bitdepth, char err_out[256]); + int width, int height, bool depth, bool high_bitdepth, char err_out[256]); void GPU_offscreen_free(GPUOffScreen *ofs); void GPU_offscreen_bind(GPUOffScreen *ofs, bool save); void GPU_offscreen_unbind(GPUOffScreen *ofs, bool restore); -- cgit v1.2.3