diff options
Diffstat (limited to 'chickadee.scm')
-rw-r--r-- | chickadee.scm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chickadee.scm b/chickadee.scm index 88928e1..0f04767 100644 --- a/chickadee.scm +++ b/chickadee.scm @@ -31,8 +31,6 @@ #:use-module (chickadee graphics gpu) #:use-module (chickadee graphics viewport) #:use-module (chickadee utils) - #:use-module (gl) - #:use-module (gl enums) #:use-module (ice-9 atomic) #:use-module (ice-9 match) #:use-module (sdl2) @@ -422,6 +420,9 @@ border is disabled, otherwise it is enabled.") (graphics-engine-gc gfx)) (define (render-sdl-opengl alpha) (graphics-engine-reset! gfx) + ;; Enable seamless cube maps. + ;; TODO: This should go somewhere else. + (set-gpu-seamless-cube-maps! (current-gpu) #t) (with-viewport (vector-ref default-viewport 0) (clear-viewport) (with-graphics-state ((projection (vector-ref default-projection 0))) @@ -445,10 +446,6 @@ border is disabled, otherwise it is enabled.") (lambda args (display "warning: could not enable vsync\n" (current-error-port)))) - ;; Turn off multisampling by default. - (gl-disable (version-1-3 multisample)) - ;; Enable seamless cube maps. - (gl-enable (version-3-2 texture-cube-map-seamless)) (sdl2:load-game-controller-mappings! (scope-datadir "gamecontrollerdb.txt")) (run-game* #:init load |