24 lines
404 B
C
24 lines
404 B
C
#ifndef OGS_MAHJONG_RAYLIB_BRIDGE_H
|
|
#define OGS_MAHJONG_RAYLIB_BRIDGE_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// Initialise the OpenGL-backed raylib scene (no raylib window is created).
|
|
void raybri_init(void);
|
|
|
|
// Resize the viewport.
|
|
void raybri_resize(int width, int height);
|
|
|
|
void raybri_render(void);
|
|
|
|
// Release all GPU resources.
|
|
void raybri_shutdown(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|