diff options
Diffstat (limited to 'lyt/materials/tevswaptable.cpp')
-rw-r--r-- | lyt/materials/tevswaptable.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lyt/materials/tevswaptable.cpp b/lyt/materials/tevswaptable.cpp index 05ed497..a13a491 100644 --- a/lyt/materials/tevswaptable.cpp +++ b/lyt/materials/tevswaptable.cpp @@ -21,18 +21,18 @@ LYTTevSwapTable::LYTTevSwapTable() { } -void LYTTevSwapTable::dumpToDebug() { +void LYTTevSwapTable::dumpToDebug() const { qDebug() << "LYTTevSwapTable @" << (void*)this; for (int i = 0; i < 4; i++) { - LYTTevSwapMode *m = &mode[i]; + const LYTTevSwapMode *m = &mode[i]; qDebug() << i << ":" << m->red << "," << m->green << "," << m->blue << "," << m->alpha; } } -void LYTTevSwapTable::writeToDataStream(QDataStream &out) { +void LYTTevSwapTable::writeToDataStream(QDataStream &out) const { for (int i = 0; i < 4; i++) { quint8 val = 0; val |= mode[i].red; |