forked from AuroraMiddleware/gtk
Fixed an alpha bug.
This commit is contained in:
parent
6b15c2ca82
commit
ecb9ebbce3
@ -1,3 +1,8 @@
|
||||
Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
|
||||
should have been guint32. Thanks to Tristan Colgate for finding it.
|
||||
|
||||
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* gtk/gtkcalendar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
|
||||
should have been guint32. Thanks to Tristan Colgate for finding it.
|
||||
|
||||
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* gtk/gtkcalendar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
|
||||
should have been guint32. Thanks to Tristan Colgate for finding it.
|
||||
|
||||
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* gtk/gtkcalendar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
|
||||
should have been guint32. Thanks to Tristan Colgate for finding it.
|
||||
|
||||
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* gtk/gtkcalendar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
|
||||
should have been guint32. Thanks to Tristan Colgate for finding it.
|
||||
|
||||
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* gtk/gtkcalendar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
|
||||
should have been guint32. Thanks to Tristan Colgate for finding it.
|
||||
|
||||
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* gtk/gtkcalendar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
|
||||
should have been guint32. Thanks to Tristan Colgate for finding it.
|
||||
|
||||
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||
|
||||
* gtk/gtkcalendar.h:
|
||||
|
@ -1867,7 +1867,7 @@ gdk_rgb_convert_0888 (GdkImage *image,
|
||||
r = bp2[0];
|
||||
g = bp2[1];
|
||||
b = bp2[2];
|
||||
((unsigned long *)obuf)[x] = (r << 16) | (g << 8) | b;
|
||||
((guint32 *)obuf)[x] = (r << 16) | (g << 8) | b;
|
||||
bp2 += 3;
|
||||
}
|
||||
bptr += rowstride;
|
||||
@ -1898,7 +1898,7 @@ gdk_rgb_convert_0888_br (GdkImage *image,
|
||||
r = bp2[0];
|
||||
g = bp2[1];
|
||||
b = bp2[2];
|
||||
((unsigned long *)obuf)[x] = (b << 24) | (g << 16) | (r << 8);
|
||||
((guint32 *)obuf)[x] = (b << 24) | (g << 16) | (r << 8);
|
||||
bp2 += 3;
|
||||
}
|
||||
bptr += rowstride;
|
||||
@ -1929,7 +1929,7 @@ gdk_rgb_convert_8880_br (GdkImage *image,
|
||||
r = bp2[0];
|
||||
g = bp2[1];
|
||||
b = bp2[2];
|
||||
((unsigned long *)obuf)[x] = (b << 16) | (g << 8) | r;
|
||||
((guint32 *)obuf)[x] = (b << 16) | (g << 8) | r;
|
||||
bp2 += 3;
|
||||
}
|
||||
bptr += rowstride;
|
||||
|
@ -127,6 +127,8 @@ testrgb_rgb_test (GtkWidget *drawing_area)
|
||||
NUM_ITERS * (WIDTH * HEIGHT * 1e-6) / total_time);
|
||||
}
|
||||
|
||||
g_print ("Please submit these results to http://www.levien.com/gdkrgb/survey.html\n");
|
||||
|
||||
#if 1
|
||||
for (x = 0; x < WIDTH; x++)
|
||||
{
|
||||
|
@ -127,6 +127,8 @@ testrgb_rgb_test (GtkWidget *drawing_area)
|
||||
NUM_ITERS * (WIDTH * HEIGHT * 1e-6) / total_time);
|
||||
}
|
||||
|
||||
g_print ("Please submit these results to http://www.levien.com/gdkrgb/survey.html\n");
|
||||
|
||||
#if 1
|
||||
for (x = 0; x < WIDTH; x++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user