[SDL] SDL 2.0 ABI locked

Sam Lantinga slouken at libsdl.org
Sun Mar 17 09:25:40 PDT 2013


Mostly because they're everywhere in SDL code.  You're welcome to use the
stdint types in your own code, and if you look in SDL_stdinc.h you'll see
the SDL types are defined in terms of them.


On Sun, Mar 17, 2013 at 9:19 AM, Alexey Petruchik <i100500 at gmail.com> wrote:

> As conversation moved here I'll ask once again here. Why not to
> replace SDL integer types (Uint8, ...) with <stdint.h> integer types?
> This change will not break any binary compatibility because SDL
> integer types are just typedefs for <stdint.h> integer types.
>
> On Sat, Mar 16, 2013 at 5:28 AM, Jared Maddox <absinthdraco at gmail.com>
> wrote:
> >> Date: Fri, 15 Mar 2013 12:45:54 -0700
> >> From: "neoaggelos" <neoaggelos at yahoo.gr>
> >> To: sdl at lists.libsdl.org
> >> Subject: Re: [SDL] SDL 2.0 ABI locked
> >> Message-ID: <1363376754.m2f.36087 at forums.libsdl.org>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >
> >> Sik wrote:
> >>> Doesn't that go against the ABI being locked though?
> >>>
> >>> 2013/3/15, neoaggelos <neoaggelos at yahoo.gr>:
> >>>
> >>> > Since SDL2 is not released yet, is it possible to change
> >>> > SDL_GL_BindTexture
> >>> > so that the created texture's coordinates range from 0 to 1 linearly
> ?
> >>> >
> >>> > Just an idea....
> >>> >
> >
> >> Well, I know, but for someone that uses many textures in his programs
> and
> >> relies upon this
> >> will most probably not be that happy.
> >>
> >> Having a standard value will make it easier
> >>
> >
> > None the less, the ABI is locked, AND this isn't something that SDL
> > controls, so no. However, it should be somewhat simple to create an
> > abstraction layer that does this for you. Don't go looking in SDL for
> > it, but certainly the community would be perfectly happy if someone
> > were to make a library that does this, and interfaces with SDL in the
> > appropriate places.
> > _______________________________________________
> > SDL mailing list
> > SDL at lists.libsdl.org
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130317/37c35933/attachment-0009.htm>


More information about the SDL mailing list