Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-16 13:35:57 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-16 13:52:04 +0300
commita9b393c3675ae8fd47aee217653dc8ba0e002b1c (patch)
treec8eee13684bb092ab093319739fda289f3e08b68 /source/blender/gpu/GPU_draw.h
parentf30921fc6879f0018f63352f404b6d4b41fbacf9 (diff)
Fix T64678: wrong DDS normal map rendering after recent changes
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
-rw-r--r--source/blender/gpu/GPU_draw.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h
index eb54ff127d8..8b830aadbba 100644
--- a/source/blender/gpu/GPU_draw.h
+++ b/source/blender/gpu/GPU_draw.h
@@ -87,14 +87,10 @@ void GPU_create_gl_tex(unsigned int *bind,
bool use_srgb,
struct Image *ima);
void GPU_create_gl_tex_compressed(unsigned int *bind,
- unsigned int *pix,
- int x,
- int y,
- int mipmap,
int textarget,
struct Image *ima,
struct ImBuf *ibuf);
-bool GPU_upload_dxt_texture(struct ImBuf *ibuf);
+bool GPU_upload_dxt_texture(struct ImBuf *ibuf, bool use_srgb);
void GPU_free_image(struct Image *ima);
void GPU_free_images(struct Main *bmain);
void GPU_free_images_anim(struct Main *bmain);