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

Commit d6acfed

Browse files
committed
Fixed SMAA on GLES
1 parent 90af199 commit d6acfed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PostProcessing/Shaders/StdLib.hlsl

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ float rcp(float value)
5555
}
5656
#endif
5757

58+
#if defined(SHADER_API_GLES)
59+
#define mad(a, b, c) (a * b + c)
60+
#endif
61+
5862
#ifndef INTRINSIC_MINMAX3
5963
float Min3(float a, float b, float c)
6064
{

0 commit comments

Comments
 (0)