summaryrefslogtreecommitdiff
path: root/lyt/materials/blendmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lyt/materials/blendmode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lyt/materials/blendmode.cpp b/lyt/materials/blendmode.cpp
index d02cd9b..bcbc234 100644
--- a/lyt/materials/blendmode.cpp
+++ b/lyt/materials/blendmode.cpp
@@ -21,14 +21,14 @@
LYTBlendMode::LYTBlendMode() {
}
-void LYTBlendMode::dumpToDebug() {
+void LYTBlendMode::dumpToDebug() const {
qDebug() << "LYTBlendMode @" << (void*)this;
qDebug() << "srcFactor:" << srcFactor << "- destFactor:" << destFactor;
qDebug() << "op:" << op << "- type:" << type;
}
-void LYTBlendMode::writeToDataStream(QDataStream &out) {
+void LYTBlendMode::writeToDataStream(QDataStream &out) const {
out << (quint8)type;
out << (quint8)srcFactor;
out << (quint8)destFactor;