Simplify plane_resize function

This commit is contained in:
Petar Kapriš 2025-10-13 22:10:05 +02:00
parent 64f921eff7
commit f5be463c05

View file

@ -357,9 +357,7 @@ void blit_plane(GtkDrawingArea *da, cairo_t *cr, int width, int height, gpointer
void plane_resize(GtkWidget *widget)
{
if (!surface) {
create_surface(widget);
}
create_surface(widget);
}
void create_surface(GtkWidget *widget)