mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Beautify some tabs.
This commit is contained in:
parent
e2489196e4
commit
2d4c3c7c91
@ -58,9 +58,7 @@ namespace HwRasterizer
|
|||||||
"varying " PREC " vec4 TexCoordOut;\n"
|
"varying " PREC " vec4 TexCoordOut;\n"
|
||||||
"uniform " TEXTYPE " Texture;\n"
|
"uniform " TEXTYPE " Texture;\n"
|
||||||
"void main() {\n"
|
"void main() {\n"
|
||||||
" " PREC " vec4 tmpcolor;\n"
|
" gl_FragColor = " TEXFUNC "(Texture, TexCoordOut.xy);\n"
|
||||||
" tmpcolor = " TEXFUNC "(Texture, TexCoordOut.xy);\n"
|
|
||||||
" gl_FragColor = tmpcolor;\n"
|
|
||||||
"}\n";
|
"}\n";
|
||||||
// Clear shader
|
// Clear shader
|
||||||
static const char *fragclearText =
|
static const char *fragclearText =
|
||||||
@ -262,7 +260,7 @@ namespace HwRasterizer
|
|||||||
float t1 = v1->texCoords[0].y / height;
|
float t1 = v1->texCoords[0].y / height;
|
||||||
|
|
||||||
float s2 = v2->texCoords[0].x / width;
|
float s2 = v2->texCoords[0].x / width;
|
||||||
float t2 = v2->texCoords[0].y / width;
|
float t2 = v2->texCoords[0].y / height;
|
||||||
|
|
||||||
static const GLfloat verts[3][3] = {
|
static const GLfloat verts[3][3] = {
|
||||||
{ x0, y0, z0 },
|
{ x0, y0, z0 },
|
||||||
@ -380,6 +378,5 @@ namespace HwRasterizer
|
|||||||
Create();
|
Create();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user