Closed borodust closed 7 years ago
Wrap poiu text rendering backend into this. At the moment of writing:
(gl:enable :scissor-test) (gl:blend-func-separate :src-alpha :one-minus-src-alpha :zero :one) (gl:scissor 0.0 0.0 (width-of poiu) (height-of poiu)) (dolist (cmd (nreverse commands)) (case (command-type cmd) (:scissor (apply-pretext-scissors cmd poiu)) (:text (render-boxed-text cmd poiu)))) (gl:blend-func :src-alpha :one-minus-src-alpha) (gl:disable :scissor-test)
Hackish, ad-hoc implementation, but probably would suffice for a trivial stuff.
Wrap poiu text rendering backend into this. At the moment of writing: