From: jsancho Date: Sat, 4 Sep 2010 16:49:36 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=3bf0e36fa5bc7916bd3616c8e18ebea252c86149;p=gacela.git --- diff --git a/gacela.lisp b/gacela.lisp index 7a054bb..45fc027 100644 --- a/gacela.lisp +++ b/gacela.lisp @@ -67,13 +67,13 @@ (setq screen nil))) (defun set-2d-mode () - (cond ((3d-mode?) + (cond ((not (3d-mode?)) (init-video-mode) (glDisable GL_DEPTH_TEST) (apply-mode-change)))) (defun set-3d-mode () - (cond ((not (3d-mode?)) + (cond ((3d-mode?) (init-video-mode) (glClearDepth 1) (glEnable GL_DEPTH_TEST)