diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-05-05 18:48:35 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-05-05 18:48:35 -0400 |
commit | dcc0d6133baf1d452b7e16e506bd88fad7e15ab7 (patch) | |
tree | 44ac5f9708ca0a38eff9a9cf60ef0319a9003efe | |
parent | a7ec6d82336468ee10385e3cf6c631864ef0c029 (diff) |
graphics: model: Fix reference to defunct load-pbr-shader procedure.
-rw-r--r-- | chickadee/graphics/model.scm | 2 | ||||
-rw-r--r-- | chickadee/graphics/pbr.scm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm index 201ef8c..92be430 100644 --- a/chickadee/graphics/model.scm +++ b/chickadee/graphics/model.scm @@ -914,7 +914,7 @@ #:alpha-cutoff alpha-cutoff #:double-sided? double-sided?))) (define (attribute-name->index name) - (let ((shader (load-pbr-shader))) + (let ((shader (graphics-variable-ref pbr-shader))) (match name ("POSITION" (attribute-location diff --git a/chickadee/graphics/pbr.scm b/chickadee/graphics/pbr.scm index 78d1b10..5e87135 100644 --- a/chickadee/graphics/pbr.scm +++ b/chickadee/graphics/pbr.scm @@ -46,7 +46,7 @@ pbr-material-alpha-cutoff pbr-material-double-sided? default-pbr-material - load-pbr-shader + pbr-shader shader-apply/pbr)) (define-shader-type <pbr-material> |