From: Mark B. <mb...@0x...> - 2000-04-24 16:44:30
|
On Mon, 24 Apr, 2000, "David Clark wrote: > What is the best way to remove a non-visible framebuffer surface from > memory? I've tried to call fb = None, but this just segfaults. I'm > creating several new surfaces a second, and I'm afraid they'll just > clog up available memory. I assume you mean an offscreen surface, and not a 'framebuffer'. Simply because I can't see any reason that you'd switch video modes that often. In which case, you can assign it any non-surface or del it. PySDL shouldn't segfault when you assign a binding to a new value, and I wasn't able to reproduce it. If you're finding it segfaults, I'd be interested in seeing how you're getting it to. |