On Oct 8, 2009, at 10:49 PM, Luke J Crook wrote: > Kamil Shakirov <kamil...@...> writes: > >> Just tried to build SDL framework from the released sources (32bit >> version) and test my app again. Still get the same error when calling >> sdl:set-gl-attribute before creating SDL window. Also fails on Ubuntu >> (32bit) with the latest SBCL. >> >> CORRUPTION WARNING in SBCL pid 7677(tid 2693764352): >> Memory fault at 17c (pc=0x8508d, sp=0x11ff900) >> The integrity of this image is possibly compromised. >> Continuing with fingers crossed. >> >> debugger invoked on a SB-SYS:MEMORY-FAULT-ERROR in thread #<THREAD >> "initial thread" RUNNING {119BEC41}>: >> Unhandled memory fault at #x17C. > > > I think perhaps I may have introduced a bug. Can you please try > calling > (sdl-init-video) just before set-gl-attribute and see if that works? > > (sdl:with-init() > (sdl:init-video) > (sdl:set-gl-attribute SDL-GL-DOUBLEBUFFER 1) > .... > ) >
Thanks, this solved the problem. --wbr. _______________________________________________ application-builder mailing list application-builder@lispniks.com http://www.lispniks.com/mailman/listinfo/application-builder