From 1f60797a9f470ddf9f726b7a09e9d2019d59a10f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Jacob?= Date: Wed, 18 Oct 2006 06:19:23 +0000 Subject: [PATCH] Add e-mail address (problem found by EBN) Disable FPS counter for now, it puts a 99% CPU load so I'll only enable it when I need to test performance. svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=596666 --- kalzium/kalziumglhelperclasses.cpp | 2 +- kalzium/kalziumglhelperclasses.h | 16 +++++++++------- kalzium/kalziumglwidget.cpp | 2 +- kalzium/kalziumglwidget.h | 7 ++++--- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/kalzium/kalziumglhelperclasses.cpp b/kalzium/kalziumglhelperclasses.cpp index 1bb854b..f301c05 100644 --- a/kalzium/kalziumglhelperclasses.cpp +++ b/kalzium/kalziumglhelperclasses.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - copyright : (C) 2006 by Benoit Jacob + copyright : (C) 2006 by Benoit Jacob ***************************************************************************/ /*************************************************************************** diff --git a/kalzium/kalziumglhelperclasses.h b/kalzium/kalziumglhelperclasses.h index 46dc0fb..eb64d8b 100644 --- a/kalzium/kalziumglhelperclasses.h +++ b/kalzium/kalziumglhelperclasses.h @@ -1,17 +1,19 @@ -#ifndef KALZIUMGLHELPERCLASSES_H -#define KALZIUMGLHELPERCLASSES_H /*************************************************************************** - copyright : (C) 2006 by Benoit Jacob + copyright : (C) 2006 by Benoit Jacob ***************************************************************************/ /*************************************************************************** - * * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * + * (at your option) any later version. * + * * ***************************************************************************/ + +#ifndef KALZIUMGLHELPERCLASSES_H +#define KALZIUMGLHELPERCLASSES_H + #include #include #include @@ -28,7 +30,7 @@ * counter. Use only for testing: this makes the GL Widget constantly * redraw, which under normal circumstances is a waste of CPU time. */ -#define USE_FPS_COUNTER +//#define USE_FPS_COUNTER /** USE_DISPLAY_LISTS: if defined, the whole scene will be stored in * an OpenGL display list. The vertex arrays will then be converted into diff --git a/kalzium/kalziumglwidget.cpp b/kalzium/kalziumglwidget.cpp index dc8a94b..7e2398f 100644 --- a/kalzium/kalziumglwidget.cpp +++ b/kalzium/kalziumglwidget.cpp @@ -1,6 +1,6 @@ /*************************************************************************** copyright : (C) 2006 by Benoit Jacob - email : cniehaus@kde.org + email : cniehaus@kde.org ***************************************************************************/ /*************************************************************************** diff --git a/kalzium/kalziumglwidget.h b/kalzium/kalziumglwidget.h index 1179a10..ea545f3 100644 --- a/kalzium/kalziumglwidget.h +++ b/kalzium/kalziumglwidget.h @@ -1,7 +1,5 @@ -#ifndef KALZIUMGLWIDGET_H -#define KALZIUMGLWIDGET_H /*************************************************************************** - copyright : (C) 2006 by Benoit Jacob + copyright : (C) 2006 by Benoit Jacob ***************************************************************************/ /*************************************************************************** @@ -13,6 +11,9 @@ * * ***************************************************************************/ +#ifndef KALZIUMGLWIDGET_H +#define KALZIUMGLWIDGET_H + #include "kalziumglhelperclasses.h" #include -- 2.47.3