mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Don't write to transformedvertex.color1[4], it doesn't exist.
This commit is contained in:
1 parent
45b6670310
commit
6d66577f17
2 files changed
+2
-1
No files matched your search
@@ -680,6 +680,7 @@ static const u8 bitsPerPixel[11] = {
|
||||
8, //GE_TFMT_DXT5=8,
|
||||
};
|
||||
|
||||
// This is the same as (fmt & 4) != 0, heh.
|
||||
static const bool formatUsesClut[11] = {
|
||||
false,
|
||||
false,
|
||||
|
||||
@@ -680,7 +680,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
|
||||
for (int i = 0; i < 4; i++) {
|
||||
transformed[index].color0[i] = c0[i] * 255.0f;
|
||||
}
|
||||
for (int i = 0; i < 4; i++) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
transformed[index].color1[i] = c1[i] * 255.0f;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user