OpenGL Renderer: Fix an initialization issue with the clear image shader program when running the 3.2 Core Profile renderer for a driver that only supports OpenGL v3.2. (Regression from commit e2a25e2
. Fixes #827.)
This commit is contained in:
parent
42667020d8
commit
8f9c6892d5
|
@ -2290,7 +2290,7 @@ Render3DError OpenGLRenderer_3_2::CreateClearImageProgram(const char *vsCString,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fsHeader << "#define OUT_COLOR out\n";
|
fsHeader << "#define OUT_COLOR out\n";
|
||||||
fsHeader << "#define OUT_FOG_ATTRIBUTES out\n";
|
fsHeader << "#define OUT_FOGATTR out\n";
|
||||||
}
|
}
|
||||||
fsHeader << "\n";
|
fsHeader << "\n";
|
||||||
|
|
||||||
|
|
|
@ -652,7 +652,7 @@ Render3DError OpenGLESRenderer_3_0::CreateClearImageProgram(const char *vsCStrin
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fsHeader << "#define OUT_COLOR out\n";
|
fsHeader << "#define OUT_COLOR out\n";
|
||||||
fsHeader << "#define OUT_FOG_ATTRIBUTES out\n";
|
fsHeader << "#define OUT_FOGATTR out\n";
|
||||||
}
|
}
|
||||||
fsHeader << "\n";
|
fsHeader << "\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue