Skip to content

Commit

Permalink
Document gl state required.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Aug 11, 2019
1 parent 51184e7 commit 81eaf49
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions renderers/opengl/protocol.lisp
Expand Up @@ -6,6 +6,15 @@

(in-package #:org.shirakumo.alloy.renderers.opengl)

;; Required GL state before ALLOY:RENDER call:
;; enable: :blend :stencil-test :line-smooth
;; disable: :depth-test
;; stencil-func: :always 1 #xFF
;; blend-func: :src-alpha :one-minus-src-alpha
;; font-face: :ccw
;; cull-fuace: :back
;; clear-stencil: #x00

;; alloy:allocate
;; alloy:deallocate
(defgeneric bind (resource))
Expand Down

0 comments on commit 81eaf49

Please sign in to comment.