diff --git a/desmume/src/OGLRender_3_2.cpp b/desmume/src/OGLRender_3_2.cpp index 8fa9bb58a..3515c2728 100644 --- a/desmume/src/OGLRender_3_2.cpp +++ b/desmume/src/OGLRender_3_2.cpp @@ -2290,7 +2290,7 @@ Render3DError OpenGLRenderer_3_2::CreateClearImageProgram(const char *vsCString, else { fsHeader << "#define OUT_COLOR out\n"; - fsHeader << "#define OUT_FOG_ATTRIBUTES out\n"; + fsHeader << "#define OUT_FOGATTR out\n"; } fsHeader << "\n"; diff --git a/desmume/src/OGLRender_ES3.cpp b/desmume/src/OGLRender_ES3.cpp index 277fd9c87..3da150557 100644 --- a/desmume/src/OGLRender_ES3.cpp +++ b/desmume/src/OGLRender_ES3.cpp @@ -652,7 +652,7 @@ Render3DError OpenGLESRenderer_3_0::CreateClearImageProgram(const char *vsCStrin else { fsHeader << "#define OUT_COLOR out\n"; - fsHeader << "#define OUT_FOG_ATTRIBUTES out\n"; + fsHeader << "#define OUT_FOGATTR out\n"; } fsHeader << "\n";