diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index e907cc037..a3e9fd2c7 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -1470,6 +1470,12 @@ int16_t polymer_addlight(_prlight* light) if (lighti == PR_MAXLIGHTS) return (-1); + // Spot lights disabled on ATI cards because they cause crashes with + // Catalyst 12.8 drivers. + // See: http://forums.duke4.net/topic/5723-hrp-polymer-crash/ + if (pr_ati_fboworkaround && light->radius) + return (-1); + Bmemcpy(&prlights[lighti], light, sizeof(_prlight)); if (light->radius) {