[Bf-blender-cvs] [d83d8e5] framebuffer: gpu.offscreen.new(...) negative test was not working
Dalai Felinto
noreply at git.blender.org
Fri Oct 16 19:13:44 CEST 2015
Commit: d83d8e53e9d611b968eff0c86e9bf46ff017e1dc
Author: Dalai Felinto
Date: Fri Oct 16 14:10:26 2015 -0300
Branches: framebuffer
https://developer.blender.org/rBd83d8e53e9d611b968eff0c86e9bf46ff017e1dc
gpu.offscreen.new(...) negative test was not working
===================================================================
M source/blender/python/intern/gpu_offscreen.c
===================================================================
diff --git a/source/blender/python/intern/gpu_offscreen.c b/source/blender/python/intern/gpu_offscreen.c
index b63ea0c..4fc6949 100644
--- a/source/blender/python/intern/gpu_offscreen.c
+++ b/source/blender/python/intern/gpu_offscreen.c
@@ -364,7 +364,7 @@ PyDoc_STRVAR(pygpu_offscreen_new_doc,
static PyObject *pygpu_offscreen_new(PyObject *UNUSED(self), PyObject *args, PyObject *kwds)
{
GPUOffScreen *ofs;
- int width, height, samples;
+ unsigned int width, height, samples;
char err_out[256];
static const char *kwlist[] = {"width", "height", "samples", NULL};
More information about the Bf-blender-cvs
mailing list