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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-17 03:24:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-17 03:24:26 +0400
commit86a72ae064dc49610bd10e7e5f2989442a51290d (patch)
treeabe4e6418c0e58c3f9cda90f67f1078a71f71059 /source/blender/gpu
parent3968b637353dc697c94ab6be85e00d108bebd72e (diff)
fix for node socket text buttons not scaling with DPI, also quiet -Wundef warning WITH_DDS.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c2
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;