Codechange: [Win32] Try to get an OpenGL 3.2+ context if possible.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:17 +01:00
parent a990c497b5
commit 9a069faa01
6 changed files with 955 additions and 28 deletions

View File

@@ -19,6 +19,7 @@ typedef void (*OGLProc)();
typedef OGLProc (*GetOGLProcAddressProc)(const char *proc);
bool IsOpenGLVersionAtLeast(byte major, byte minor);
const char *FindStringInExtensionList(const char *string, const char *substring);
/** Platform-independent back-end class for OpenGL video drivers. */
class OpenGLBackend : public ZeroedMemoryAllocator {