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:
2018-01-03 13:15:32 +01:00
parent 6b2989ae75
commit c79216d77d
9 changed files with 21 additions and 8 deletions

View File

@@ -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,