|
| <prev next> |
Agar: r7561 - trunk/core: msg#00000lib.agar.scm
Author: vedge Date: 2008-09-01 11:37:42 -0300 (Mon, 01 Sep 2008) New Revision: 7561 Modified: trunk/core/AG_Core.3 Log: AG_InitCore() knows nothing of SDL Modified: trunk/core/AG_Core.3 =================================================================== --- trunk/core/AG_Core.3 2008-09-01 06:39:34 UTC (rev 7560) +++ trunk/core/AG_Core.3 2008-09-01 14:37:42 UTC (rev 7561) @@ -71,7 +71,7 @@ .nr nS 0 The .Fn AG_InitCore -function initializes Agar's internal data structures as well as SDL. +function initializes Agar's internal data structures. It must be called before any other Agar function. The .Fa progname @@ -86,14 +86,15 @@ The .Fn AG_InitVideo function sets the video mode, initializes the font engine and GUI system.. +The graphics backend is auto-selected. .Pp -The +Assuming SDL is available, the .Fn AG_InitVideoSDL function initializes the GUI system to use an existing SDL display surface. -Note that if the specified surface has the +If the specified surface has the .Dv SDL_OPENGL flag set, it is assumed that Agar should render itself using OpenGL -primitives. +primitives, otherwise plain framebuffer mode is used. .Pp The .Fn AG_InitGUI |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Next by Date: | Agar: r7562 - in trunk: . agar-math-config math math/SPARSE: 00000, Agar-SVN |
|---|---|
| Next by Thread: | Agar: r7562 - in trunk: . agar-math-config math math/SPARSE: 00000, Agar-SVN |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |