diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-08 01:30:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-08 05:15:50 +0300 |
commit | 28ea459a61f65de03724db8709271d41f6bf135b (patch) | |
tree | b01a390416b317976227b5b72f25e416b90d445b /source/blender/gpu/GPU_texture.h | |
parent | 77f60a09310dad0cb41e2e2ec4a71f9bdb762e67 (diff) |
GPUState: Encapsulate glPixelStorei inside the GLStateManager
Part of the Vulkan task T68990
Isolate the last remaining gl functions.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index bae5bfbaae8..b31cb42d38d 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -228,6 +228,7 @@ void GPU_texture_update_sub(GPUTexture *tex, int width, int height, int depth); +void GPU_unpack_row_length_set(uint len); void *GPU_texture_read(GPUTexture *tex, eGPUDataFormat data_format, int miplvl); void GPU_texture_clear(GPUTexture *tex, eGPUDataFormat data_format, const void *data); |