summaryrefslogtreecommitdiff
path: root/lyt/materials/texcoordgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lyt/materials/texcoordgen.cpp')
-rw-r--r--lyt/materials/texcoordgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lyt/materials/texcoordgen.cpp b/lyt/materials/texcoordgen.cpp
index 3d2ac75..91bdad9 100644
--- a/lyt/materials/texcoordgen.cpp
+++ b/lyt/materials/texcoordgen.cpp
@@ -21,17 +21,17 @@
LYTTexCoordGen::LYTTexCoordGen() {
}
-void LYTTexCoordGen::dumpToDebug() {
+void LYTTexCoordGen::dumpToDebug() const {
qDebug() << "LYTTexCoordGen @" << (void*)this;
qDebug() << "GenType:" << genType << "- Mtx:" << mtx << "- Src:" << src;
}
-void LYTTexCoordGen::writeToDataStream(QDataStream &out) {
+void LYTTexCoordGen::writeToDataStream(QDataStream &out) const {
out << (quint8)genType;
out << (quint8)src;
out << (quint8)mtx;
- out.skipRawData(1); // padding
+ WritePadding(1, out);
}