hex007 / freej2me

A free J2ME emulator with libretro, awt and sdl2 frontends.
Other
469 stars 72 forks source link

Rendering freezes until resizing the frame on MacOS #180

Open loveaurell opened 1 year ago

loveaurell commented 1 year ago

I've fixed the issue by adding main.repaint(); in the Runnable set in the Mobile.getPlatform().setPainter() block in FreeJ2ME class. Any idea why this is happening?

loveaurell commented 1 year ago
Mobile.getPlatform().setPainter(() -> {
            main.repaint();
            lcd.paint(lcd.getGraphics());
        });