Merge pull request #988 from BeamNG/clean_opengl_fragment_out

Clean GLSL fragment shader out.
This commit is contained in:
LuisAntonRebollo 2014-12-01 01:28:05 +01:00
commit 5e74a465a9
135 changed files with 451 additions and 239 deletions

View file

@ -75,7 +75,7 @@ void ShaderGenPrinterGLSL::printPixelShaderOutputStruct( Stream& stream, const M
}
WRITESTR(avar("//Fragment shader OUT\r\n"));
//WRITESTR(avar("out vec4 OUT_col;\r\n", i)); // @todo OUT_col defined on hlslCompat.glsl
WRITESTR(avar("out vec4 OUT_col;\r\n"));
for( U32 i = 1; i < 4; i++ )
{
if( numMRTs & 1 << i )