summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/graphics/buffer.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/chickadee/graphics/buffer.scm b/chickadee/graphics/buffer.scm
index 89ee376..42b6286 100644
--- a/chickadee/graphics/buffer.scm
+++ b/chickadee/graphics/buffer.scm
@@ -381,7 +381,7 @@ resized."
(define-record-type <buffer-view>
(%make-buffer-view name buffer offset offset-pointer component-type
- normalized? length type max min sparse divisor)
+ normalized? length type divisor)
buffer-view?
(name buffer-view-name)
(buffer buffer-view->buffer)
@@ -391,9 +391,6 @@ resized."
(normalized? buffer-view-normalized?)
(length buffer-view-length)
(type buffer-view-type)
- (max buffer-view-max)
- (min buffer-view-min)
- (sparse buffer-view-sparse)
(divisor buffer-view-divisor)) ; for instanced rendering
(define (buffer-view-stride buffer-view)
@@ -419,9 +416,6 @@ resized."
offset
type
component-type))
- max
- min
- sparse
(divisor 0))
"Return a new typed buffer view for BUFFER starting at byte index
OFFSET of LENGTH elements, where each element is of TYPE and composed
@@ -456,7 +450,7 @@ each element is used for 1 instance. A divisor of 2 means that each
element is used for 2 instances, and so on."
(let ((offset-ptr (make-pointer offset)))
(%make-buffer-view name buffer offset offset-ptr component-type
- normalized? length type max min sparse divisor)))
+ normalized? length type divisor)))
(define (display-buffer-view buffer-view port)
(format port "#<buffer-view name: ~s buffer: ~a type: ~s component-type: ~s length: ~d offset: ~d divisor: ~d>"