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 59 of file alleggl.c.

_DRIVER_INFO our_driver_list[] [static]

Initial value:

 {






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

Definition at line 64 of file alleggl.c.

Referenced by our_gfx_drivers().

GFX_DRIVER gfx_allegro_gl_default

Initial value:

{
   GFX_OPENGL,
   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,        
   0, 0,
   0,
   0, 0,
   0,
   0,
   FALSE        
}

Definition at line 99 of file alleggl.c.


Generated on Sun Dec 3 18:06:50 2006 for AllegroGL by  doxygen 1.5.1