alleggl.c File Reference

Allegro-OpenGL interfacing. More...

#include <string.h>
#include <stdlib.h>
#include "alleggl.h"
#include "allglint.h"
#include <allegro/internal/aintern.h>
#include <GL/glu.h>

Go to the source code of this file.

Defines

Functions

Mode selection functions

Variables


Detailed Description

Allegro-OpenGL interfacing.

This sorts out having Allegro and the OpenGL library sharing a window, and generally cooperating.

Definition in file alleggl.c.


Variable Documentation

BITMAP* allegro_gl_screen

Direct-mode GL `screen' bitmap.

If you draw to this bitmap (using supported Allegro functions) your calls will be converted into OpenGL equivalents and appear on the screen (or backbuffer).

Definition at line 62 of file alleggl.c.

_DRIVER_INFO our_driver_list[] [static]

Initial value:

 {

    {  , &gfx_allegro_gl_windowed, FALSE},


    {  , &gfx_allegro_gl_fullscreen, FALSE},

    {  , &gfx_allegro_gl_default, FALSE},
    {0, NULL, FALSE}
}

Definition at line 67 of file alleggl.c.

Referenced by our_gfx_drivers().

GFX_DRIVER gfx_allegro_gl_default

Initial value:

{
     ,
   EMPTY_STRING,
   EMPTY_STRING,
   "AllegroGL Default Driver",
   allegro_gl_default_gfx_init,
   NULL,
   NULL,
   NULL,               
   NULL,
   NULL, NULL, NULL,
   NULL,        
   NULL,
   NULL, NULL,  
   NULL, NULL,
   NULL, NULL, NULL, NULL,
   NULL,
   NULL, NULL,
   NULL,        
   NULL,        
   0, 0,
   0,
   0, 0,
   0,
   0,
   FALSE        
}

Definition at line 102 of file alleggl.c.


Generated on Sun Nov 11 15:52:55 2007 for AllegroGL by  doxygen 1.5.2