glsl: don't declare gl_FragDepth

Fix compilation issue on Mesa driver

(hope it doesn't break Catalyst)
This commit is contained in:
Gregory Hainaut 2015-07-05 18:12:36 +02:00
parent edc9d23566
commit 986754bde7
2 changed files with 4 additions and 4 deletions

View File

@ -178,7 +178,7 @@ void ps_main11()
#endif
#ifdef ps_main12
out float gl_FragDepth;
//out float gl_FragDepth;
void ps_main12()
{
// Convert a RRGBA texture into a float depth texture
@ -189,7 +189,7 @@ void ps_main12()
#endif
#ifdef ps_main13
out float gl_FragDepth;
//out float gl_FragDepth;
void ps_main13()
{
// Same as above but without the alpha channel

View File

@ -203,7 +203,7 @@ static const char* convert_glsl =
"#endif\n"
"\n"
"#ifdef ps_main12\n"
"out float gl_FragDepth;\n"
"//out float gl_FragDepth;\n"
"void ps_main12()\n"
"{\n"
" // Convert a RRGBA texture into a float depth texture\n"
@ -214,7 +214,7 @@ static const char* convert_glsl =
"#endif\n"
"\n"
"#ifdef ps_main13\n"
"out float gl_FragDepth;\n"
"//out float gl_FragDepth;\n"
"void ps_main13()\n"
"{\n"
" // Same as above but without the alpha channel\n"