[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kalzium
From: BenoƮt Jacob <jacob () math ! jussieu ! fr>
Date: 2008-04-08 15:52:47
Message-ID: 1207669967.059956.10648.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 794780 by bjacob:
Fix the problem that was preventing the molecule viewer from getting
full-scene anti-aliasing.
M +0 -5 compoundviewer/kalziumglpart.cpp
M +6 -0 src/main.cpp
--- trunk/KDE/kdeedu/kalzium/compoundviewer/kalziumglpart.cpp #794779:794780
@@ -133,11 +133,6 @@
Q_UNUSED(args);
kDebug() << "KalziumGLPart::KalziumGLPart()";
- // use multi-sample (anti-aliased) OpenGL if available
- QGLFormat defFormat = QGLFormat::defaultFormat();
- defFormat.setSampleBuffers(true);
- QGLFormat::setDefaultFormat(defFormat);
-
m_widget = new KalziumGLWidget();
m_widget->setObjectName("KalziumGLWidget-KPart");
}
--- trunk/KDE/kdeedu/kalzium/src/main.cpp #794779:794780
@@ -21,6 +21,7 @@
#include <kcmdlineargs.h>
#include <klocale.h>
#include <kapplication.h>
+#include <QGLFormat>
#include "kalzium.h"
@@ -71,6 +72,11 @@
KApplication app;
Kalzium *mainWin = 0;
+ // use multi-sample (anti-aliased) OpenGL if available
+ QGLFormat defFormat = QGLFormat::defaultFormat();
+ defFormat.setSampleBuffers(true);
+ QGLFormat::setDefaultFormat(defFormat);
+
if (app.isSessionRestored())
{
RESTORE(Kalzium);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic