0c5a385
diff -up grub-0.97/efi/efigraph.c.useblt grub-0.97/efi/efigraph.c
0c5a385
--- grub-0.97/efi/efigraph.c.useblt	2009-03-11 11:02:24.000000000 -0400
0c5a385
+++ grub-0.97/efi/efigraph.c	2009-03-11 11:02:30.000000000 -0400
0c5a385
@@ -305,6 +305,24 @@ static struct bltbuf *alloc_bltbuf(grub_
0c5a385
 	return buf;
0c5a385
 }
0c5a385
 
0c5a385
+
0c5a385
+#if 1
0c5a385
+static void
0c5a385
+blt_pos_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf,
0c5a385
+                      position_t *bltpos, position_t *bltsz, position_t *pos)
0c5a385
+{
0c5a385
+    position_t phys;
0c5a385
+
0c5a385
+    position_to_phys(eg, pos, &phys);
0c5a385
+
011d8e8
+    Call_Service_10(eg->output_intf->blt, eg->output_intf, (void *)bltbuf->pixbuf,
0c5a385
+                    GRUB_EFI_BLT_BUFFER_TO_VIDEO,
0c5a385
+                    bltpos->x, bltpos->y,
0c5a385
+                    phys.x, phys.y,
0c5a385
+                    bltsz->x, bltsz->y,
0c5a385
+                    0);
0c5a385
+}
0c5a385
+#else
0c5a385
 static void
0c5a385
 blt_pos_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf,
0c5a385
         position_t *bltpos, position_t *bltsz, position_t *pos)
0c5a385
@@ -392,6 +410,7 @@ blt_pos_to_screen_pos(struct eg *eg, str
0c5a385
         }
0c5a385
     }
0c5a385
 }
0c5a385
+#endif
0c5a385
 
0c5a385
 static void
0c5a385
 blt_to_screen(struct eg *eg, struct bltbuf *bltbuf)
0c5a385
@@ -417,25 +436,6 @@ blt_to_screen(struct eg *eg, struct bltb
0c5a385
 #endif
0c5a385
 }
0c5a385
 
0c5a385
-
0c5a385
-#if 0
0c5a385
-static void
0c5a385
-blt_pos_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf,
0c5a385
-                      position_t *bltpos, position_t *bltsz, position_t *pos)
0c5a385
-{
0c5a385
-    position_t phys;
0c5a385
-
0c5a385
-    position_to_phys(eg, pos, &phys);
0c5a385
-
0c5a385
-    Call_Service_10(eg->output_intf->blt, eg->output_intf, bltbuf->pixbuf,
0c5a385
-                    GRUB_EFI_BLT_BUFFER_TO_VIDEO,
0c5a385
-                    bltpos->x, bltpos->y,
0c5a385
-                    phys.x, phys.y,
0c5a385
-                    bltsz->x, bltsz->y,
0c5a385
-                    0);
0c5a385
-}
0c5a385
-#endif
0c5a385
-
0c5a385
 static void
0c5a385
 blt_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf, position_t *pos)
0c5a385
 {