OpenGL rendering component. First iteration, WiP.

This commit is contained in:
ts-korhonen
2021-04-10 01:35:17 +03:00
parent 996384d72f
commit f315145c7d
8 changed files with 3985 additions and 6 deletions

View File

@@ -0,0 +1,27 @@
/*
* 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.
*
* This file is part of the 86Box distribution.
*
* Header file for OpenGL rendering module
*
* Authors: Teemu Korhonen
*
* Copyright 2021 Teemu Korhonen
*/
#ifndef WIN_OPENGL_H
#define WIN_OPENGL_H
#define UNICODE
#include <Windows.h>
extern int opengl_init(HWND hwnd);
extern int opengl_pause();
extern void opengl_close();
extern void opengl_set_fs(int fs);
extern void opengl_enable(int enable);
#endif /*!WIN_OPENGL_H*/