Fix T88365: GPUTexture.read returning a buffer with wrong size
authorGermano Cavalcante <germano.costa@ig.com.br>
Tue, 18 May 2021 13:01:29 +0000 (10:01 -0300)
committerGermano Cavalcante <germano.costa@ig.com.br>
Tue, 18 May 2021 13:01:29 +0000 (10:01 -0300)
commit2b660e825b46131789d67a730773c8d56be4c229
treeda39ac5ce3e9ad7081054ff1e567d49a97beeb67
parentea7b00c64fcd3bcff4a4d1455e0ef334bdd6a6ec
Fix T88365: GPUTexture.read returning a buffer with wrong size

The pixel components were not being considered.
source/blender/python/gpu/gpu_py_texture.c