+#include "glcontext.h"
#include <vector>
#include <OpenGL/gl.h>
#include "cocoaglcontext.h"
#include "cocoapixelformat.h"
-#include "glcontext.h"
#include "window_private.h"
using namespace std;
struct GLContext::Private
{
- ContextHandle context;
+ ContextHandle context = nullptr;
};
void GLContext::platform_init(const GLOptions &opts)