diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-17 03:24:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-17 03:24:26 +0400 |
commit | 86a72ae064dc49610bd10e7e5f2989442a51290d (patch) | |
tree | abe4e6418c0e58c3f9cda90f67f1078a71f71059 /source/blender/gpu/intern | |
parent | 3968b637353dc697c94ab6be85e00d108bebd72e (diff) |
fix for node socket text buttons not scaling with DPI, also quiet -Wundef warning WITH_DDS.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 9b027f7906d..9aed843659d 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -709,7 +709,7 @@ void GPU_create_gl_tex(unsigned int *bind, unsigned int *pix, float * frect, int */ int GPU_upload_dxt_texture(ImBuf *ibuf) { -#if WITH_DDS +#ifdef WITH_DDS GLint format = 0; int blocksize, height, width, i, size, offset = 0; |