[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkstars=5D_kstars=3A_Move_=23ifdef_CPP_directives_to?=
From: Khudyakov Alexey <alexey.skladnoy () gmail ! com>
Date: 2011-04-05 18:12:46
Message-ID: 20110405181246.67ABDA60A9 () git ! kde ! org
[Download RAW message or body]
Git commit d743d3688261e4b97103d6c076c5f32aa49e73d1 by Khudyakov Alexey.
Committed on 05/04/2011 at 20:04.
Pushed by khudyakov into branch 'master'.
Move #ifdef CPP directives to the beginning of line for
readability
M +6 -6 kstars/texture.h
http://commits.kde.org/kstars/d743d3688261e4b97103d6c076c5f32aa49e73d1
diff --git a/kstars/texture.h b/kstars/texture.h
index 4414b1c..22e0b09 100644
--- a/kstars/texture.h
+++ b/kstars/texture.h
@@ -39,16 +39,16 @@ public:
///Get a pointer to the image associated with this texture
const QImage& image() const;
///Bind the texture for use with GL -- return true if successful
- #ifdef HAVE_OPENGL
+#ifdef HAVE_OPENGL
bool bind() const;
- #endif
+#endif
protected:
Texture(QObject *parent = 0);
- #ifdef HAVE_OPENGL
+#ifdef HAVE_OPENGL
void genTexture();
- #endif
+#endif
protected slots:
void setImage(const QImage& img);
@@ -56,9 +56,9 @@ protected slots:
private:
QImage m_image;
bool m_ready;
- #ifdef HAVE_OPENGL
+#ifdef HAVE_OPENGL
GLuint m_tid;
- #endif
+#endif
};
#endif // KSTEXTURE_H
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic