mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:50:05 +00:00
Fix display of placefile polygons and triangles on macOS
This commit is contained in:
parent
847c5d951e
commit
2750168287
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ void main()
|
||||||
// Always set displayed to true
|
// Always set displayed to true
|
||||||
vsOut.displayed = 1;
|
vsOut.displayed = 1;
|
||||||
|
|
||||||
|
// Initialize texCoord to default value
|
||||||
|
vsOut.texCoord = vec3(0.0f, 0.0f, 0.0f);
|
||||||
|
|
||||||
// Pass the threshold and time range to the geometry shader
|
// Pass the threshold and time range to the geometry shader
|
||||||
vsOut.threshold = aThreshold;
|
vsOut.threshold = aThreshold;
|
||||||
vsOut.timeRange = aTimeRange;
|
vsOut.timeRange = aTimeRange;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue