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 Oct 3, 2023
1 parent da02a0e commit 25bd7ca
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 @@ -1199,9 +1199,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 25bd7ca

Please sign in to comment.