Skip to content

Commit

Permalink
(glamour misc) : Use 'apply-rgba'
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmatech committed May 28, 2009
1 parent 8e79f6b commit 17c9437
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions glamour/misc.sls
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,8 @@

(glEnd)) )))

(define (gl-color-rgba color)
(glColor4d (rgba-red color)
(rgba-green color)
(rgba-blue color)
(rgba-alpha color)))

(define (gl-clear-color-rgba color)
(glClearColor (rgba-red color)
(rgba-green color)
(rgba-blue color)
(rgba-alpha color)))
(define gl-color-rgba (apply-rgba glColor4d))
(define gl-clear-color-rgba (apply-rgba glClearColor))

)

0 comments on commit 17c9437

Please sign in to comment.