Mercurial > octave-nkf
comparison libgui/graphics/GLCanvas.cc @ 19676:5d0663bff506
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 30 Jan 2015 16:06:14 -0500 |
parents | 2f4406e9dad6 5d1c7e967742 |
children | dfea01b3425f |
comparison
equal
deleted
inserted
replaced
19675:8fe29850fb74 | 19676:5d0663bff506 |
---|---|
36 | 36 |
37 namespace QtHandles | 37 namespace QtHandles |
38 { | 38 { |
39 | 39 |
40 GLCanvas::GLCanvas (QWidget* xparent, const graphics_handle& gh) | 40 GLCanvas::GLCanvas (QWidget* xparent, const graphics_handle& gh) |
41 : QGLWidget (xparent), Canvas (gh) | 41 : QGLWidget (QGLFormat(QGL::SampleBuffers), xparent), Canvas (gh) |
42 { | 42 { |
43 setFocusPolicy (Qt::ClickFocus); | 43 setFocusPolicy (Qt::ClickFocus); |
44 } | 44 } |
45 | 45 |
46 GLCanvas::~GLCanvas (void) | 46 GLCanvas::~GLCanvas (void) |