mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-09-30 17:16:50 -04:00
21 lines
405 B
C
21 lines
405 B
C
|
#pragma once
|
||
|
|
||
|
#include "wx/glcanvas.h"
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#include <windows.h>
|
||
|
#include <gl/wglext.h>
|
||
|
|
||
|
extern PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglGetExtensionsStringEXT;
|
||
|
extern PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT;
|
||
|
extern PFNWGLGETSWAPINTERVALEXTPROC wglGetSwapIntervalEXT;
|
||
|
|
||
|
bool GLExtSupported(const char *extension_name);
|
||
|
|
||
|
#endif
|
||
|
|
||
|
extern bool GLExt_initialized;
|
||
|
|
||
|
void initGLExtensions();
|
||
|
|