git-svn-id: svn://db.shs.com.ru/libs@47 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -55,8 +55,8 @@ QGLView::QGLView(QWidget * parent): QGraphicsView(parent), fbo_selection(3) {
|
||||
//lmode = Simple;
|
||||
shader_select = shader_halo = 0;
|
||||
cur_luminance = 1.;
|
||||
accom_time = 32.;
|
||||
accom_max_speed = 0.1;
|
||||
accom_time = 16.;
|
||||
accom_max_speed = 0.2;
|
||||
mouse_first = mouseSelect_ = accomodation_ = hoverHalo_ = selectionHalo_ = true;
|
||||
fogEnabled_ = is_init = grabMouse_ = mouseRotate_ = mouseThis_ = shaders_bind = shadows_ = shadows_soft = dynamic_reflections = hdr_ = bloom_ = msaa_ = fxaa_ = changed_ = false;
|
||||
rmode = GLObjectBase::Fill;
|
||||
@@ -304,6 +304,10 @@ void QGLView::paintGL() {
|
||||
qDebug() << QRect(downPos, lastPos).normalized();
|
||||
}
|
||||
|
||||
glReleaseShaders();
|
||||
glResetAllTransforms();
|
||||
glReleaseFramebuffer();
|
||||
|
||||
emit glPainting();
|
||||
|
||||
/*releaseShaders();
|
||||
|
||||
Reference in New Issue
Block a user