guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: sdl: Allow dlopen for OpenGL.


From: David Thompson
Subject: Re: [PATCH] gnu: sdl: Allow dlopen for OpenGL.
Date: Wed, 18 Mar 2015 18:55:58 -0400
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu)

宋文武 <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]