Commit ecb9ebbc authored by Raph Levien's avatar Raph Levien

Fixed an alpha bug.

parent 6b15c2ca
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:
......
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:
......
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:
......
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:
......
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:
......
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:
......
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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment