blob: 226bb78a769c02a37263ee0d17a9f11b8d26244a (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ./xmms/util.c.orig 2006-07-16 08:40:04.000000000 -0500
+++ ./xmms/util.c 2008-09-12 15:49:41.000000000 -0500
@@ -175,7 +175,7 @@
* This needs to be optimized
*/
- dblimg = gdk_image_new(GDK_IMAGE_NORMAL, gdk_visual_get_best(), img->width << 1, img->height << 1);
+ dblimg = gdk_image_new(GDK_IMAGE_NORMAL, gdk_visual_get_best_with_depth(img->depth), img->width << 1, img->height << 1);
if (dblimg->bpp == 1)
{
char *srcptr, *ptr, *ptr2;
|