Allow glTexImage1/2/3D to specify width/height/depth = 0.
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Sep 2003 15:03:12 +0000 (15:03 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Sep 2003 15:03:12 +0000 (15:03 +0000)
commit973da83f6237b5af4a9ee77f32fdfa5c04ecabc8
treef5fe8c25f0c960dc26ac958ca96fe41658a3e55e
parent5c480a4887aaca56bd70bde91bddbc13f71e721e
Allow glTexImage1/2/3D to specify width/height/depth = 0.
This allows texture state to be resettable to default state.
Not allowed according to the spec, but allowed by all other OpenGL libs.
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c