Handbook
Glossary
adjust-texture-dim ( dim -- dim' )
Vocabulary
opengl
.
textures
.
private
Inputs
dim
an
object
Outputs
dim'
an
object
Definition
USING:
kernel
math
namespaces
opengl.textures
sequences
;
IN:
opengl.textures.private
:
adjust-texture-dim
( dim -- dim' )
non-power-of-2-textures?
get
[
[
dup
1
=
[
next-power-of-2
]
unless
]
map
]
unless
;