Last minute bug fixes
This commit is contained in:
parent
a8f32e077f
commit
73c6171226
@ -440,6 +440,7 @@ void process_window_command (int sig) {
|
||||
case WC_REORDER:
|
||||
read(pw->command_pipe, &wwt, sizeof(w_window_t));
|
||||
reorder_window(get_window_with_process(pw, wwt.wid), wwt.left);
|
||||
redraw_region_slow(0,0,graphics_width,graphics_height);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -153,6 +153,9 @@ int main(int argc, char ** argv) {
|
||||
continue;
|
||||
}
|
||||
nowait = (!strcmp(tokens[i-1],"&"));
|
||||
if (nowait) {
|
||||
tokens[i-1] = NULL;
|
||||
}
|
||||
|
||||
/* Attempt to open the command */
|
||||
FILE * file = NULL; //fopen(tokens[0], "r");
|
||||
|
@ -83,9 +83,7 @@ void draw_sprite_scaled(sprite_t * sprite, uint16_t x, uint16_t y, uint16_t widt
|
||||
uint32_t f_color = rgb(_ALP(n_color), 0, 0);
|
||||
GFX(x + _x, y + _y) = alpha_blend(GFX(x + _x, y + _y), n_color, f_color);
|
||||
} else {
|
||||
if (SPRITE(sprite,_x,_y) != sprite->blank) {
|
||||
GFX(x + _x, y + _y) = getBilinearFilteredPixelColor(sprite, (double)_x / (double)width, (double)_y/(double)height);
|
||||
}
|
||||
GFX(x + _x, y + _y) = getBilinearFilteredPixelColor(sprite, (double)_x / (double)width, (double)_y/(double)height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user