Skip to content

Commit a5025d4

Browse files
committed
Comments only.
1 parent d825ecf commit a5025d4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Graphics/Rendering/OpenGL/GL/Texturing/Specification.hs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ texImage2D target proxy level int (TextureSize2D w h) border pd =
152152
153153
TEXTURE_3D
154154
TEXTURE_2D_ARRAY
155-
TEXTURE_CUBE_MAP_ARRAY ???????
155+
TEXTURE_CUBE_MAP_ARRAY
156156
PROXY_TEXTURE_3D
157157
PROXY_TEXTURE_2D_ARRAY
158-
PROXY_TEXTURE_CUBE_MAP_ARRAY ???????
158+
PROXY_TEXTURE_CUBE_MAP_ARRAY
159159
160160
Note: No TEXTURE_2D_MULTISAMPLE_ARRAY or PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY
161161
targets! For these use glTexImage3DMultisample.
@@ -292,7 +292,8 @@ compressedTexImage1D target proxy level (TextureSize1D w) border cpd =
292292

293293
--------------------------------------------------------------------------------
294294

295-
-- see texImage2D (but no rectangle texture formats!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
295+
-- see texImage2D, but note that the spec currently disallows TextureRectangle,
296+
-- but then again the extension explicitly allows a relaxation in the future.
296297
compressedTexImage2D :: TwoDimensionalTextureTarget t => t -> Proxy -> Level -> TextureSize2D -> Border -> CompressedPixelData a -> IO ()
297298
compressedTexImage2D target proxy level (TextureSize2D w h) border cpd =
298299
withCompressedPixelData cpd $ \fmt ->

0 commit comments

Comments
 (0)