2021-04-10 01:35:17 +03:00
|
|
|
/*
|
2023-01-06 15:36:05 -05:00
|
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
* running old operating systems and software designed for IBM
|
|
|
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
* system designs based on the PCI bus.
|
2021-04-10 01:35:17 +03:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* This file is part of the 86Box distribution.
|
2021-04-10 01:35:17 +03:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Header file for OpenGL rendering module
|
2021-04-10 01:35:17 +03:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Authors: Teemu Korhonen
|
2021-04-10 01:35:17 +03:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Copyright 2021 Teemu Korhonen
|
2021-04-10 01:35:17 +03:00
|
|
|
*/
|
2022-02-18 19:42:21 -05:00
|
|
|
|
2021-04-10 01:35:17 +03:00
|
|
|
#ifndef WIN_OPENGL_H
|
|
|
|
|
#define WIN_OPENGL_H
|
|
|
|
|
|
|
|
|
|
#define UNICODE
|
2023-02-14 20:37:58 -05:00
|
|
|
#include <windows.h>
|
2021-04-10 01:35:17 +03:00
|
|
|
|
2022-07-27 17:00:34 -04:00
|
|
|
extern int opengl_init(HWND hwnd);
|
|
|
|
|
extern int opengl_pause(void);
|
2021-04-17 00:12:49 +03:00
|
|
|
extern void opengl_close(void);
|
2021-04-10 01:35:17 +03:00
|
|
|
extern void opengl_set_fs(int fs);
|
2021-04-11 22:29:00 +03:00
|
|
|
extern void opengl_resize(int w, int h);
|
2021-04-23 16:09:45 +03:00
|
|
|
extern void opengl_reload(void);
|
2021-04-10 01:35:17 +03:00
|
|
|
|
2022-02-18 19:42:21 -05:00
|
|
|
#endif /*!WIN_OPENGL_H*/
|