GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AL_SET_CURRENT_OPENGL_CONTEXT (3)

NAME

al_set_current_opengl_context - Allegro 5 API

CONTENTS

Synopsis
Description

SYNOPSIS

C]
#include <allegro5/allegro_opengl.h>

void al_set_current_opengl_context(ALLEGRO_DISPLAY *display) ]

DESCRIPTION

Make the OpenGL context associated with the given display current for the calling thread. If there is a current target bitmap which belongs to a different OpenGL context, the target bitmap will be changed to NULL.

Normally you do not need to use this function, as the context will be made current when you call al_set_target_bitmap(3) or al_set_target_backbuffer(3). You might need if it you created an OpenGL "forward compatible" context. Then al_get_backbuffer(3) only returns NULL, so it would not work to pass that to al_set_target_bitmap(3).

Search for    or go to Top of page |  Section 3 |  Main Index


Allegro reference manual AL_SET_CURRENT_OPENGL_CONTEXT (3)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.