mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-24 12:51:09 +00:00
- added default precision settings to shader include because some old ATI drivers complain if they aren't there - even though the spec doesn't require them...
This commit is contained in:
parent
4904abfc1c
commit
754c96a540
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
// This file contains common data definitions for both vertex and fragment shader
|
||||
|
||||
// these settings are actually pointless but there seem to be some old ATI drivers that fail to compile the shader without setting the precision here.
|
||||
precision highp int;
|
||||
precision highp float;
|
||||
|
||||
uniform vec4 uCameraPos;
|
||||
uniform int uTextureMode;
|
||||
uniform float uClipHeightTop, uClipHeightBottom;
|
||||
|
|
Loading…
Reference in a new issue