PyAPI: GPUOffscreen: Add context manager for the `bind` method to work with the ...
authormano-wii <germano.costa@ig.com.br>
Mon, 19 Nov 2018 12:16:27 +0000 (10:16 -0200)
committermano-wii <germano.costa@ig.com.br>
Mon, 19 Nov 2018 12:16:27 +0000 (10:16 -0200)
commit3f59bdc1bd0a380d464896e982204ba48c50e3b1
treeb0ab898ee22e064a28d5b0d18639b8f76dc87746
parentd2560dc614fd07b5b69cba4acd3c75cb9c8e473b
PyAPI: GPUOffscreen: Add context manager for the `bind` method to work with the `with` statement.

Differential Revision: https://developer.blender.org/D3918
source/blender/python/gpu/gpu_py_offscreen.c
source/blender/python/gpu/gpu_py_offscreen.h