Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-07-02 18:28:30 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-02 18:28:41 +0300
commit35481fde40c78e004230d7909e7b7d83438cc64e (patch)
tree639b68a64d33358749333f7dbdfd6829c7b06b9b /source/blender/gpu/GPU_framebuffer.h
parenta4fe8ef236b65210ef04945be7f3936757015b7f (diff)
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.
Diffstat (limited to 'source/blender/gpu/GPU_framebuffer.h')
-rw-r--r--source/blender/gpu/GPU_framebuffer.h2
1 files changed, 1 insertions, 1 deletions
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);