summaryrefslogtreecommitdiff
path: root/2d/texture.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-08-14 20:14:23 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-08-14 20:14:23 -0400
commit9130a5aa67fdfb4df0e4f3dae94e5d1ad9d62737 (patch)
tree6a3d165d7402d22d2112571744e7c87d3dc4b9f0 /2d/texture.scm
parent82b814f123a71ef3cdc2cffa32ba7b8039bdf4eb (diff)
Remove reference to pixel-format* enum.
Diffstat (limited to '2d/texture.scm')
-rw-r--r--2d/texture.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/2d/texture.scm b/2d/texture.scm
index c2a3fa1..4702029 100644
--- a/2d/texture.scm
+++ b/2d/texture.scm
@@ -107,8 +107,8 @@
"Returns the OpenGL pixel format for a surface. RGB and RGBA formats
are supported."
(case (SDL:surface:depth surface)
- ((24) (pixel-format* rgb))
- ((32) (pixel-format* rgba))
+ ((24) (pixel-format rgb))
+ ((32) (pixel-format rgba))
(else (throw 'unsupported-pixel-format (SDL:surface:depth surface)))))
(define (surface->texture surface)