Clean up the shell shader. Last commit from here.

This commit is contained in:
Colby Klein
2013-04-03 12:28:47 -07:00
parent f14b367346
commit 817ef820ab
2 changed files with 2 additions and 6 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
void main() {
vec4 position = gl_Vertex + vec4(gl_Normal, 1.0) * 0.125;
// prevent skewing
position.w = 1.0;
vec4 position = vec4(gl_Vertex.xyz + gl_Normal * 0.125, 1.0);
gl_Position = gl_ModelViewProjectionMatrix * position;
}
+1 -2
View File
@@ -808,8 +808,6 @@ bool RageDisplay_Legacy::IsZWriteEnabled() const
*/
void
RageDisplay_GLES2::ClearZBuffer()
{
@@ -961,6 +959,7 @@ RageDisplay_GLES2::DrawLineStripInternal( const RageSpriteVertex v[], int iNumVe
// TODO
}
// Is this even used?
void
RageDisplay_GLES2::DrawSymmetricQuadStripInternal( const RageSpriteVertex v[], int iNumVerts )
{