GPU_offscreen: Add option for high bit depth.
This way we can render in HDR and read the real pixel values.
This commit is contained in:
@@ -354,7 +354,7 @@ static PyObject *pygpu_offscreen_new(PyObject *UNUSED(self), PyObject *args, PyO
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ofs = GPU_offscreen_create(width, height, samples, err_out);
|
||||
ofs = GPU_offscreen_create(width, height, samples, false, err_out);
|
||||
|
||||
if (ofs == NULL) {
|
||||
PyErr_Format(PyExc_RuntimeError,
|
||||
|
Reference in New Issue
Block a user