Permalink
Browse files

Kludge for sRGB textures

  • Loading branch information...
Shinmera committed Jan 29, 2019
1 parent fea8eb8 commit 51f0ebc3d4d83c10b59b59abe04a0ab02ddfc31a
Showing with 2 additions and 0 deletions.
  1. +2 −0 assets/image.lisp
@@ -153,6 +153,8 @@
(setf (pixel-format image) pixel-format))
(when pixel-type
(setf (pixel-type image) pixel-type))
;; KLUDGE: disable this override for now to allow sRGB textures.
#+(or)
(when (and pixel-format pixel-type)
(setf (internal-format image) (infer-internal-format pixel-type pixel-format)))
(when (listp input)

0 comments on commit 51f0ebc

Please sign in to comment.