force grcontext to be created at startup

git-svn-id: http://skia.googlecode.com/svn/trunk@1798 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-07-06 15:11:07 +00:00
parent 1b195bc8fd
commit c157531aa2

View File

@ -437,6 +437,9 @@ SampleWindow::SampleWindow(void* hwnd, int argc, char** argv) : INHERITED(hwnd)
#ifdef SK_BUILD_FOR_MAC
testpdf();
#endif
this->make3DReady();
this->detachGL();
}
SampleWindow::~SampleWindow() {