/
vuvk
/
tinygl2
Обзор
Документация
Войти
/
vuvk
/
tinygl2
Код
Запросы
0
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/oscontext.h
37 строк
734 B
AntonVuvk
Initial commit.
17 сен 2017, 09:06
17 сен 2017, 09:06
4877a09
Код
Авторство
О чём код?
#ifndef _tgl_osbuffer_h_ #define _tgl_osbuffer_h_ #ifdef __cplusplus extern "C" { #endif typedef struct { void **zbs; void **framebuffers; int numbuffers; int xsize, ysize; } ostgl_context; ostgl_context * ostgl_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 *context, const int index); void ostgl_resize(ostgl_context * context, const int xsize, const int ysize, void **framebuffers); #ifdef __cplusplus } #endif #endif /* _tgl_osbuffer_h_ */