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:
authorAndrea Weikert <elubie@gmx.net>2006-01-23 02:27:43 +0300
committerAndrea Weikert <elubie@gmx.net>2006-01-23 02:27:43 +0300
commit5668480c99001a617fd59a2383deb858195ffb26 (patch)
tree2c5e27e0be4e54bb5e4f8572a97f68c607f83575 /source/blender/src/interface_icons.c
parent091af5911cf7b7a22b28d86888d88ab4d41f4413 (diff)
small fix for icons to correctly use alpha instead of converting grey background to alpha.
Also checking in cleaned up blenderbuttons from Matt.
Diffstat (limited to 'source/blender/src/interface_icons.c')
-rw-r--r--source/blender/src/interface_icons.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/interface_icons.c b/source/blender/src/interface_icons.c
index a5d5f410eee..fccfc4dcb0f 100644
--- a/source/blender/src/interface_icons.c
+++ b/source/blender/src/interface_icons.c
@@ -483,6 +483,7 @@ static void prepare_internal_icons(ImBuf* bbuf)
clear_transp_rect(transp, back, bbuf->x, bbuf->y, rowstride);
/* hack! */
+#if 0
for (y=0; y<12; y++) {
for (x=0; x<21; x++) {
unsigned char *start= ((unsigned char*) bbuf->rect) + (y*21 + 3)*rowstride + (x*20 + 3)*4;
@@ -496,6 +497,7 @@ static void prepare_internal_icons(ImBuf* bbuf)
}
}
+#endif
}