diff options
Diffstat (limited to 'samplecode/SampleApp.cpp')
| -rw-r--r-- | samplecode/SampleApp.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index df6e7cc603..0d4ff44213 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -425,16 +425,15 @@ SampleWindow::SampleWindow(void* hwnd, int argc, char** argv) : INHERITED(hwnd) } } this->loadView(fSamples[fCurrIndex]()); + + fPDFData = NULL; + this->make3DReady(); // If another constructor set our dimensions, ensure that our // onSizeChange gets called. if (this->height() && this->width()) { this->onSizeChange(); } - - fPDFData = NULL; - - this->make3DReady(); } SampleWindow::~SampleWindow() { |
