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:
rogerman 2024-08-28 10:33:27 -07:00
parent 42667020d8
commit 8f9c6892d5
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -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";