Merge pull request #3566 from raven02/patch-4

Minor fix the ERROR_LOG_REPORT_ONCE in ReadColor1()
This commit is contained in:
Henrik Rydgård 2013-09-02 04:41:47 -07:00
commit 8599973e9d

View File

@ -370,7 +370,7 @@ public:
memcpy(color, data_ + decFmt_.c1off, 12);
break;
default:
ERROR_LOG_REPORT_ONCE(fmt, G3D, "Reader: Unsupported C1 Format %d", decFmt_.c0fmt);
ERROR_LOG_REPORT_ONCE(fmt, G3D, "Reader: Unsupported C1 Format %d", decFmt_.c1fmt);
memset(color, 0, sizeof(float) * 3);
break;
}