summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-08-31 13:36:52 +0000
committerhrydgard <hrydgard@gmail.com>2008-08-31 13:36:52 +0000
commit09406d76c44d3a8efb1932b8d7f1345ae0e4c604 (patch)
tree3149bf6c83f7d010ce291b7df832660c6dd00db2 /Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp
parentd9e129ae99bb11edfc59053c97c1d798e1ab4dad (diff)
Fix/workaround at least one class of buffer underruns in the GL plugin. Fix some bad deletes (instead of delete []). etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@404 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp b/Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp
index 7ee5d16634..4914d341bb 100644
--- a/Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp
+++ b/Source/Plugins/Plugin_VideoDX9/Src/DecodedVArray.cpp
@@ -22,13 +22,13 @@ void DecodedVArray::Zero()
posMtxInds = 0;
for (int i=0; i<3; i++)
normals[i] = 0;
+ for (int i=0; i<2; i++)
+ colors[i] = 0;
for (int i=0; i<8; i++)
{
texMtxInds[i] = 0;
uvs[i] = 0;
}
- for (int i=0; i<2; i++)
- colors[i] = 0;
}
void DecodedVArray::Destroy()