diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-02 03:42:03 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-08 04:38:21 +0200 |
commit | 6948bf58ce181b17f60ef81f10205ef4dac50cc6 (patch) | |
tree | 0440c3772a67d09ff28c3bb2528583e59e1c7fa9 /svx | |
parent | b458c16a431010712b0d5e18b125a9ec897372c9 (diff) |
move the OpenGLContext to the model object
In the next step we need to initialize it again but in the ViewContact
it gets destroyed several times which is a problem.
Change-Id: I3efe4311bfb279b7407eabd0dd673f33603d8e9b
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofopenglobj.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofopenglobj.cxx b/svx/source/sdr/contact/viewobjectcontactofopenglobj.cxx index 1689468993b1..2cf0086287f8 100644 --- a/svx/source/sdr/contact/viewobjectcontactofopenglobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofopenglobj.cxx @@ -18,9 +18,6 @@ ViewObjectContactOfOpenGLObj::ViewObjectContactOfOpenGLObj( ObjectContact& rObjectContact, ViewContact& rViewContact ) : ViewObjectContactOfSdrObj( rObjectContact, rViewContact ) { - m_aOpenGLContext.init(getWindow()); - // Set a dummy size to make the window visible - m_aOpenGLContext.setWinSize(Size(200,200)); } ViewObjectContactOfOpenGLObj::~ViewObjectContactOfOpenGLObj() |