diff options
| author | gnick79 <gnick79@gmail.com> | 2010-11-25 20:39:54 +0000 |
|---|---|---|
| committer | gnick79 <gnick79@gmail.com> | 2010-11-25 20:39:54 +0000 |
| commit | 2e59d26133956b0479251beabc32175a7ea08fa9 (patch) | |
| tree | 745a2971af82f5e3bccf81e05937e9289e02756b /Source/Core/VideoCommon | |
| parent | fae12f43c23fbfe492db1b2b68144b500b86e685 (diff) | |
Related to Texture's glitches:
* fixed a bug on QUAD-Vertex generator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6478 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/IndexGenerator.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/Src/IndexGenerator.cpp b/Source/Core/VideoCommon/Src/IndexGenerator.cpp index 8e2a1986ed..8053114fae 100644 --- a/Source/Core/VideoCommon/Src/IndexGenerator.cpp +++ b/Source/Core/VideoCommon/Src/IndexGenerator.cpp @@ -21,9 +21,9 @@ * QUAD simulator -0 2 4 6 -1 3 5 7 -021231 243453 +0 1 4 5 +3 2 7 6 +012023 147172 ... */ //Init @@ -235,8 +235,8 @@ void IndexGenerator::AddQuads(int numVerts) { *Tptr++ = index+i*4; *Tptr++ = index+i*4+1; - *Tptr++ = index+i*4+3; - *Tptr++ = index+i*4+1; + *Tptr++ = index+i*4+2; + *Tptr++ = index+i*4; *Tptr++ = index+i*4+2; *Tptr++ = index+i*4+3; } |
