Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
Fixed SMAA on GLES
Browse files Browse the repository at this point in the history
  • Loading branch information
Chman committed Jan 12, 2018
1 parent 90af199 commit d6acfed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PostProcessing/Shaders/StdLib.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ float rcp(float value)
}
#endif

#if defined(SHADER_API_GLES)
#define mad(a, b, c) (a * b + c)
#endif

#ifndef INTRINSIC_MINMAX3
float Min3(float a, float b, float c)
{
Expand Down

0 comments on commit d6acfed

Please sign in to comment.