diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-06-26 02:26:46 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-06-26 02:26:46 +0300 |
commit | abaf6b106d3a34512f1061dc23277f3924da7fc6 (patch) | |
tree | 3e52a71448ad408df94c412446eee31afbee10a2 /source/blender/gpu/GPU_texture.h | |
parent | 9ab0247b6efcf0659648d006b3d216d0fd708cae (diff) |
Revert "GPU: Create and use new GPU_texture_read_rect utility."
This reverts commit e061cb44378efaf159a30fb1c5834db48ffb2bb3.
This function is problematic on some operating systems.
# Conflicts:
# source/blender/draw/intern/draw_manager.c
# source/blender/gpu/GPU_texture.h
# source/blender/gpu/intern/gpu_texture.c
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 4397234543b..2b61d99e852 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -214,10 +214,6 @@ void GPU_texture_update_sub(GPUTexture *tex, int depth); void *GPU_texture_read(GPUTexture *tex, eGPUDataFormat gpu_data_format, int miplvl); -void GPU_texture_read_rect(GPUTexture *tex, - eGPUDataFormat gpu_data_format, - const struct rcti *rect, - void *r_buf); void GPU_invalid_tex_init(void); void GPU_invalid_tex_bind(int mode); |