- if((use_mouse = have_mouse())) {
- printf("initializing mouse input\n");
- set_mouse_limits(0, 0, fb_width, fb_height);
- set_mouse(fb_width / 2, fb_height / 2);
- }
-
- if(!(fb_pixels = malloc(fbsize))) {
+ /* now start_loadscr sets up fb_pixels to the space used by the loading image,
+ * so no need to allocate another framebuffer
+ */
+#if 0
+ /* allocate a couple extra rows as a guard band, until we fucking fix the rasterizer */
+ if(!(fb_pixels = malloc(fbsize + (FB_WIDTH * FB_BPP / 8) * 2))) {