tex-image ( image bitmap -- )


Vocabulary
opengl.textures.private

Inputs
imagean object
bitmapan object


Outputs
None

Definition


:: tex-image ( image bitmap -- )
image image-format :> ( internal-format format type )
GL_TEXTURE_2D 0 internal-format image dim>>
adjust-texture-dim first2 0 format type bitmap glTexImage2D
;