TinyGL 0.4.1 for MinGW
Data Structures | Functions
gdi.c File Reference
#include <stdio.h>
#include <windows.h>
#include <GL/gl.h>
#include "zgl.h"
#include <GL/gdi.h>

Go to the source code of this file.

Data Structures

struct  TinyGDIContext
 

Functions

GDIContext gdiCreateContext (GDIContext shareList, int flags)
 
void gdiDestroyContext (GDIContext ctx1)
 
int gdiMakeCurrent (HWND drawable, GDIContext ctx1, int width, int height)
 
void gdiSwapBuffers (HWND drawable)
 

Function Documentation

◆ gdiCreateContext()

GDIContext gdiCreateContext ( GDIContext  shareList,
int  flags 
)

Definition at line 34 of file gdi.c.

◆ gdiDestroyContext()

void gdiDestroyContext ( GDIContext  ctx1)

Definition at line 49 of file gdi.c.

◆ gdiMakeCurrent()

int gdiMakeCurrent ( HWND  drawable,
GDIContext  ctx1,
int  width,
int  height 
)

Definition at line 109 of file gdi.c.

◆ gdiSwapBuffers()

void gdiSwapBuffers ( HWND  drawable)

Definition at line 171 of file gdi.c.