mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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
This commit is contained in:
@ -21,9 +21,9 @@
|
|||||||
*
|
*
|
||||||
QUAD simulator
|
QUAD simulator
|
||||||
|
|
||||||
0 2 4 6
|
0 1 4 5
|
||||||
1 3 5 7
|
3 2 7 6
|
||||||
021231 243453
|
012023 147172 ...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//Init
|
//Init
|
||||||
@ -235,8 +235,8 @@ void IndexGenerator::AddQuads(int numVerts)
|
|||||||
{
|
{
|
||||||
*Tptr++ = index+i*4;
|
*Tptr++ = index+i*4;
|
||||||
*Tptr++ = index+i*4+1;
|
*Tptr++ = index+i*4+1;
|
||||||
*Tptr++ = index+i*4+3;
|
*Tptr++ = index+i*4+2;
|
||||||
*Tptr++ = index+i*4+1;
|
*Tptr++ = index+i*4;
|
||||||
*Tptr++ = index+i*4+2;
|
*Tptr++ = index+i*4+2;
|
||||||
*Tptr++ = index+i*4+3;
|
*Tptr++ = index+i*4+3;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user