2017-01-02 21:07:43 -05:00
|
|
|
// Copyright (c) Charles J. Cliffe
|
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
|
2015-02-09 20:49:21 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "wx/glcanvas.h"
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#include <windows.h>
|
2015-02-09 22:01:33 -05:00
|
|
|
#ifdef __MINGW32__
|
2015-02-09 20:49:21 -05:00
|
|
|
#include <gl/wglext.h>
|
2015-02-09 22:01:33 -05:00
|
|
|
#else
|
|
|
|
#include "wglext.h"
|
|
|
|
#endif
|
2015-02-09 20:49:21 -05:00
|
|
|
|
|
|
|
extern PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglGetExtensionsStringEXT;
|
|
|
|
extern PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT;
|
|
|
|
extern PFNWGLGETSWAPINTERVALEXTPROC wglGetSwapIntervalEXT;
|
|
|
|
|
|
|
|
bool GLExtSupported(const char *extension_name);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern bool GLExt_initialized;
|
|
|
|
|
|
|
|
void initGLExtensions();
|
|
|
|
|