diff options
author | Siddhartha Jejurkar <f20180617@goa.bits-pilani.ac.in> | 2021-12-17 16:01:32 +0300 |
---|---|---|
committer | Siddhartha Jejurkar <f20180617@goa.bits-pilani.ac.in> | 2021-12-17 16:01:32 +0300 |
commit | dbc41b30f88b96f7d8c6e995b17f5930eb55cc77 (patch) | |
tree | c6c495328443ea3621e5df2ef483b0e0dd504496 /source/blender/imbuf/intern/util_gpu.c | |
parent | 99a2af76d10e05a18987be5d554ada197b1ca086 (diff) | |
parent | 7c9e4099854a4fc8eab4db97173c1aacd25f9e08 (diff) |
Merge branch 'master' into soc-2021-uv-edge-select-supportsoc-2021-uv-edge-select-support
Diffstat (limited to 'source/blender/imbuf/intern/util_gpu.c')
-rw-r--r-- | source/blender/imbuf/intern/util_gpu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/util_gpu.c b/source/blender/imbuf/intern/util_gpu.c index 2b99a0aa81d..cc6fef634d5 100644 --- a/source/blender/imbuf/intern/util_gpu.c +++ b/source/blender/imbuf/intern/util_gpu.c @@ -162,8 +162,6 @@ static void *imb_gpu_get_data(const ImBuf *ibuf, return data_rect; } -/* The ibuf is only here to detect the storage type. The produced texture will have undefined - * content. It will need to be populated by using IMB_update_gpu_texture_sub(). */ GPUTexture *IMB_touch_gpu_texture( const char *name, ImBuf *ibuf, int w, int h, int layers, bool use_high_bitdepth) { @@ -183,9 +181,6 @@ GPUTexture *IMB_touch_gpu_texture( return tex; } -/* Will update a GPUTexture using the content of the ImBuf. Only one layer will be updated. - * Will resize the ibuf if needed. - * z is the layer to update. Unused if the texture is 2D. */ void IMB_update_gpu_texture_sub(GPUTexture *tex, ImBuf *ibuf, int x, |