al_get_opengl_version man page on DragonFly

Printed from http://www.polarhome.com/service/man/?qf=al_get_opengl_version&af=0&tf=2&of=DragonFly

al_get_opengl_version(3)			      al_get_opengl_version(3)

NAME
       al_get_opengl_version - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro_opengl.h>

	      uint32_t al_get_opengl_version(void)

DESCRIPTION
       Returns	the OpenGL or OpenGL ES version number of the client (the com‐
       puter the program is running on), for the current  display.   "1.0"  is
       returned	 as 0x01000000, "1.2.1" is returned as 0x01020100, and "1.2.2"
       as 0x01020200, etc.

       A valid OpenGL context must exist for  this  function  to  work,	 which
       means you may not call it before al_create_display(3).

SEE ALSO
       al_get_opengl_variant(3)

Allegro reference manual			      al_get_opengl_version(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net