Minor change in skia_window_osx.mm

This commit is contained in:
David Capello 2015-10-07 17:46:37 -03:00
parent 416951f592
commit 7bde73e2a3

View File

@ -29,9 +29,15 @@ public:
bool closing;
int scale;
OSXWindow* window;
#if SK_SUPPORT_GPU
GLContextSkia<GLContextCGL> gl;
#endif
Impl() : gl(nullptr) {
Impl()
#if SK_SUPPORT_GPU
: gl(nullptr)
#endif
{
closing = false;
scale = 1;
window = [OSXWindow new];