diff options
author | David Thompson <dthompson2@worcester.edu> | 2017-10-17 22:34:33 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2017-10-17 22:34:33 -0400 |
commit | 3879c714dfe958472c10b5e807d65be61041c25d (patch) | |
tree | 65b0bcb47afa5c124e51f9b47d71048d7623746c | |
parent | 4e4644b7693173079faaf7c1d37f04983340c986 (diff) |
Fix build bug for real this time.
-rw-r--r-- | chickadee/render/texture.scm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chickadee/render/texture.scm b/chickadee/render/texture.scm index fd5ebce..b8b47a1 100644 --- a/chickadee/render/texture.scm +++ b/chickadee/render/texture.scm @@ -23,8 +23,7 @@ #:use-module (srfi srfi-9 gnu) #:use-module (system foreign) #:use-module (gl) - #:use-module ((gl enums) - #:prefix gl:) + #:use-module (gl enums) #:use-module ((sdl2 image) #:prefix sdl-image:) #:use-module (sdl2 surface) #:use-module (oop goops) @@ -159,13 +158,13 @@ clamp-to-edge. FORMAT specifies the pixel format. Currently only (gl-texture-parameter (texture-target texture-2d) (texture-parameter-name texture-min-filter) (match min-filter - ('nearest (gl:texture-min-filter nearest)) - ('linear (gl:texture-min-filter linear)))) + ('nearest 9728) + ('linear 9729))) (gl-texture-parameter (texture-target texture-2d) (texture-parameter-name texture-mag-filter) (match mag-filter - ('nearest (gl:texture-mag-filter nearest)) - ('linear (gl:texture-mag-filter linear)))) + ('nearest 9728) + ('linear 9729))) (gl-texture-parameter (texture-target texture-2d) (texture-parameter-name texture-wrap-s) (gl-wrap wrap-s)) |