宋文武 <iyzs...@gmail.com> writes:

> Fixes a regression introduced in 666aa99.
> Reported by Felipe López and David Thompso.

Unfortunately, this doesn't solve the issue.  I need to dig deeper into
the SDL source to figure out exactly why it's still failing.

I use the following crude command to test, run from a git checkout of Sly[0].

    guix environment -l package.scm -E "guile -c \"(use-modules ((sdl sdl) 
#:prefix sdl:)) (sdl:init 'video) (pk 'window (sdl:set-video-mode 320 240 24 
'opengl))\""

(any package that has guile-sdl as an input will do, but there are none
in the distro yet)

When the test fails, the output is:

    ;;; (window #f)

If I remove the 'opengl flag, a window is succesfully opened:

    ;;; (window #<SDL-Surface 320x240 24 bpp>)

We'll find the culprit, eventually! :)

[0] https://gitorious.org/sly/sly

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

Reply via email to