mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-23 20:42:24 +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
a093f686a7
commit
b6ada166fc
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