Skip to content

Commit

Permalink
Remove scissor test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Mar 23, 2019
1 parent b617810 commit 96336e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion display.lisp
Expand Up @@ -45,7 +45,7 @@
(gl:front-face :ccw) (gl:front-face :ccw)
(gl:cull-face :back) (gl:cull-face :back)
(gl:hint :line-smooth-hint :nicest) (gl:hint :line-smooth-hint :nicest)
(enable :blend :multisample :cull-face :line-smooth :depth-test :depth-clamp :scissor-test)) (enable :blend :multisample :cull-face :line-smooth :depth-test :depth-clamp))


(defmethod paint (source (target display))) (defmethod paint (source (target display)))


Expand Down
1 change: 0 additions & 1 deletion pipeline.lisp
Expand Up @@ -46,7 +46,6 @@
(check-consistent port)))) (check-consistent port))))


(defmethod resize ((pipeline pipeline) width height) (defmethod resize ((pipeline pipeline) width height)
(gl:scissor 0 0 width height)
;; FIXME: keep width/height according to desired texspec ;; FIXME: keep width/height according to desired texspec
(loop for texture across (textures pipeline) (loop for texture across (textures pipeline)
do (resize texture width height))) do (resize texture width height)))
Expand Down

0 comments on commit 96336e6

Please sign in to comment.