TinyGL 0.4.1 for MinGW
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
oscontext.c File Reference
#include <GL/oscontext.h>
#include "zbuffer.h"
#include "zgl.h"
#include <GL/gl.h>
#include <stdlib.h>
#include <assert.h>

Go to the source code of this file.

Functions

ostgl_contextostgl_create_context (const int xsize, const int ysize, const int depth, void **framebuffers, const int numbuffers)
 
void ostgl_delete_context (ostgl_context *context)
 
void ostgl_make_current (ostgl_context *oscontext, const int idx)
 
void ostgl_resize (ostgl_context *context, const int xsize, const int ysize, void **framebuffers)
 

Function Documentation

◆ ostgl_create_context()

ostgl_context * ostgl_create_context ( const int  xsize,
const int  ysize,
const int  depth,
void **  framebuffers,
const int  numbuffers 
)

Definition at line 11 of file oscontext.c.

◆ ostgl_delete_context()

void ostgl_delete_context ( ostgl_context context)

Definition at line 51 of file oscontext.c.

◆ ostgl_make_current()

void ostgl_make_current ( ostgl_context oscontext,
const int  idx 
)

Definition at line 67 of file oscontext.c.

◆ ostgl_resize()

void ostgl_resize ( ostgl_context context,
const int  xsize,
const int  ysize,
void **  framebuffers 
)

Definition at line 75 of file oscontext.c.