Beautify some tabs.

This commit is contained in:
Ryan Houdek 2012-12-26 10:33:45 -06:00
parent e2489196e4
commit 2d4c3c7c91
2 changed files with 120 additions and 123 deletions

View File

@ -58,9 +58,7 @@ namespace HwRasterizer
"varying " PREC " vec4 TexCoordOut;\n"
"uniform " TEXTYPE " Texture;\n"
"void main() {\n"
" " PREC " vec4 tmpcolor;\n"
" tmpcolor = " TEXFUNC "(Texture, TexCoordOut.xy);\n"
" gl_FragColor = tmpcolor;\n"
" gl_FragColor = " TEXFUNC "(Texture, TexCoordOut.xy);\n"
"}\n";
// Clear shader
static const char *fragclearText =
@ -262,7 +260,7 @@ namespace HwRasterizer
float t1 = v1->texCoords[0].y / height;
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] = {
{ x0, y0, z0 },
@ -380,6 +378,5 @@ namespace HwRasterizer
Create();
}
}
}