[SDL] Link error with programs compiled without OpenGL
Emmanuel Gil Peyrot
linkmauve at linkmauve.fr
Fri May 10 05:01:20 PDT 2013
On Thu, May 09, 2013 at 02:48:19AM +0200, Emmanuel Gil Peyrot wrote:
> Hi,
>
> I have found that latest SDL 2.0 includes a change that force programs
> to be linked against the libGL (or any other one that provide glEnable,
> glScissor and glDisable). I bisected and fount it was the changeset
> e276777b4247 (7141 here), if someone want to look at how it added that
> dependency and remove it -I take it shouldn’t be there in the first
> place.
>
[snip]
Here is a fix, the issue was that the gl* functions were used instead
of taking them from the GLES/GLES2 renderer.
http://linkmauve.fr/files/fix-7141.patch
--
Emmanuel Gil Peyrot
XMPP: <linkmauve at linkmauve.fr>
OpenPGP: 24B1D609
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130510/525122ab/attachment-0008.pgp>
More information about the SDL
mailing list