AJ | 13 Mar 04:52

Using a gl version with pure SDL

I am writing a game with pure SDL.  I want to use a version with freetype, but
the there are no freetype versions that are nogl.  My question is, can I use a
gl version on top of a pure SDL app?  Thanks.

-AJ
Samuel Crow | 16 Mar 00:38
Favicon

Re: Using a gl version with pure SDL

Hello AJ,

If you're not afraid to rebuild from source it should be possible to make a version of Agar that doesn't require OpenGL yet still uses FreeType.

It should be possible to use the SDL renderer even on a version of Agar that supports OpenGL anyway.

You didn't mention whether you were running on Windows, MacOSX, Linux, BSD, or another operating system.  Such details are significant when posting to a cross-platform library like SDL or Agar.

--Sam

AJ <smag4life-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

I am writing a game with pure SDL. I want to use a version with freetype, but
the there are no freetype versions that are nogl. My question is, can I use a
gl version on top of a pure SDL app? Thanks.

-AJ

_______________________________________________
Agar mailing list
Agar-FPEHb7Xf0XWpxCrVjSmSkw@public.gmane.org
http://mail231.csoft.net/mailman/listinfo/agar

Never miss a thing. Make Yahoo your homepage.
_______________________________________________
Agar mailing list
Agar@...
http://mail231.csoft.net/mailman/listinfo/agar
Julien Nadeau | 16 Mar 05:16
Favicon

Re: Using a gl version with pure SDL

On Sat, Mar 15, 2008 at 04:38:34PM -0700, Samuel Crow wrote:
> Hello AJ,
> 
> If you're not afraid to rebuild from source it should be possible to make a version of Agar that doesn't
require OpenGL yet still uses FreeType.
> 
> It should be possible to use the SDL renderer even on a version of Agar that supports OpenGL anyway.

Indeed, all Agar packages do support SDL, and in fact Agar will use SDL by
default unless you pass AG_VIDEO_OPENGL to AG_InitVideo() in your application.

I haven't really bothered building precompiled "nogl" packages for platforms
where OpenGL is standard.

> You didn't mention whether you were running on Windows, MacOSX, Linux, BSD, or another operating system. 
Such details are significant when posting to a cross-platform library like SDL or Agar.
> 
> --Sam
> 
> AJ <smag4life@...> wrote: I am writing a game with pure SDL.  I
want to use a version with freetype, but
> the there are no freetype versions that are nogl.  My question is, can I use a
> gl version on top of a pure SDL app?  Thanks.
> 
> -AJ
> 
> _______________________________________________
> Agar mailing list
> Agar@...
> http://mail231.csoft.net/mailman/listinfo/agar
> 
> 
>        
> ---------------------------------
> Never miss a thing.   Make Yahoo your homepage.
> _______________________________________________
> Agar mailing list
> Agar@...
> http://mail231.csoft.net/mailman/listinfo/agar

Gmane