[graphics] fix flutflut eye drawing with merc (#1674)

fix flutflut eye
This commit is contained in:
water111
2022-07-17 20:43:37 -04:00
committed by GitHub
parent edbc7af256
commit 7c04cf6a11
+2 -2
View File
@@ -1274,10 +1274,10 @@
;; this would normally be fine in the PC port too, but we want the eyes to remain
;; using mercneric (dynamic texture updates) in PC.
;; so we force mercneric on models with envmap and very few tris.
;; it seems to work so far...
;; it seems to work so far... (flutflut has 134 triangles in the eye effect)
(#when PC_PORT
(when (and
(< (-> geom effect effect-idx tri-count) 100)
(< (-> geom effect effect-idx tri-count) 200)
(-> geom header eye-ctrl)
(nonzero? (-> geom header eye-ctrl))
)