16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 18:39:18 +02:00

if/ifdef fix

This commit is contained in:
milek7
2018-07-25 12:34:35 +02:00
parent da429650ab
commit 5dbd1c1772
12 changed files with 24 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
float calc_shadow()
{
#ifdef SHADOWMAP_ENABLED
#if SHADOWMAP_ENABLED
vec3 coords = f_light_pos.xyz / f_light_pos.w;
if (coords.z < 0.0f)