Skip to content

Commit

Permalink
Don't read from gl_FragColor in DummyShader
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Sep 9, 2024
1 parent b925251 commit 4ec39dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/StdGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1203,9 +1203,9 @@ bool CStdGL::RestoreDeviceObjects()
void main()
{
gl_FragColor.r = texture1D(gammaRed, gl_FragColor.r).r;
gl_FragColor.g = texture1D(gammaGreen, gl_FragColor.g).r;
gl_FragColor.b = texture1D(gammaBlue, gl_FragColor.b).r;
gl_FragColor.r = texture1D(gammaRed, gl_Color.r).r;
gl_FragColor.g = texture1D(gammaGreen, gl_Color.g).r;
gl_FragColor.b = texture1D(gammaBlue, gl_Color.b).r;
gl_FragColor.a = gl_Color.a;
}
)"
Expand Down

0 comments on commit 4ec39dc

Please sign in to comment.