Skip to content
Permalink
Browse files

Use gen-texture instead. Fixes #18

  • Loading branch information...
Shinmera committed Apr 9, 2019
1 parent 32e2350 commit 1eb78ab17c0b33be7155ab3b1d8df8054691fd1f
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/texture.lisp
@@ -170,7 +170,7 @@
(with-accessors* (width height depth target samples internal-format pixel-format pixel-type pixel-data
mag-filter min-filter mipmap-levels mipmap-lod anisotropy wrapping border-color storage)
texture
(let ((tex (gl:create-texture target)))
(let ((tex (gl:gen-texture)))
(with-cleanup-on-failure (gl:delete-textures (list tex))
(gl:bind-texture target tex)
(allocate-texture-storage texture)

0 comments on commit 1eb78ab

Please sign in to comment.
You can’t perform that action at this time.