OpenGL rendering component. First iteration, WiP.
This commit is contained in:
27
src/include/86box/win_opengl.h
Normal file
27
src/include/86box/win_opengl.h
Normal 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*/
|
||||
Reference in New Issue
Block a user