Manpages

Manpage of SDL_GL_LoadLibrary

SDL_GL_LoadLibrary

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index
Return to Main Contents
 

NAME

SDL_GL_LoadLibrary- Specify an OpenGL library  

SYNOPSIS

#include "SDL.h"

int SDL_GL_LoadLibrary(const char *path);  

DESCRIPTION

If you wish, you may load the OpenGL library at runtime, this must be done before SDL_SetVideoMode is called. The path of the GL library is passed to SDL_GL_LoadLibrary and it returns 0 on success, or -1 on an error. You must then use SDL_GL_GetProcAddress to retrieve function pointers to GL functions.  

SEE ALSO

SDL_GL_GetProcAddress


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:09:32 GMT, March 28, 2024