More work on webgl

This commit is contained in:
David Botton 2022-08-11 21:37:09 -04:00
parent 2ac40e7603
commit 00446e4f83
2 changed files with 30 additions and 0 deletions

View file

@ -51,6 +51,10 @@ void main() {
(let ((obj (active-attribute program n)))
(format t "~A : Active Attribute - ~A ~A ~A"
n (info-name obj) (info-size obj) (info-type obj))))
(dotimes (n (parse-integer (program-parameter program :ACTIVE_UNIFORMS)))
(let ((obj (active-uniform program n)))
(format t "~A : Active Uniform - ~A ~A ~A"
n (info-name obj) (info-size obj) (info-type obj))))
(print (drawing-buffer-width gl))
(print (drawing-buffer-height gl))
(bind-buffer pos-buffer :ARRAY_BUFFER)