mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed compilation of FXAA shader by macOS OpenGL
Compile Shader 'shaders/glsl/fxaa.fp': ERROR: 0:250: '' : syntax error: incorrect preprocessor directive ERROR: 0:250: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline ERROR: 0:265: '' : syntax error: incorrect preprocessor directive ERROR: 0:265: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline ERROR: 0:266: '' : Macro Redefined lumaM ERROR: 0:301: '' : syntax error: incorrect preprocessor directive ERROR: 0:301: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline ERROR: 0:599: '' : syntax error: incorrect preprocessor directive ERROR: 0:599: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline https://forum.zdoom.org/viewtopic.php?t=65003
This commit is contained in:
parent
67c45a9e96
commit
6b114207dc
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ void main()
|
|||
// NVIDIA FXAA 3.11 by TIMOTHY LOTTES
|
||||
//============================================================================
|
||||
|
||||
#define FXAA_DISCARD 0
|
||||
|
||||
#define FXAA_GREEN_AS_LUMA 0
|
||||
|
||||
#define FxaaBool bool
|
||||
|
|
Loading…
Reference in a new issue