Open ocharles opened 10 years ago
framebufferTexture2D is typed as:
framebufferTexture2D
framebufferTexture2D :: FramebufferTarget -> FramebufferObjectAttachment -> TextureTarget2D -> TextureObject -> Level -> IO ()
But TextureCubeMapPositiveX is a TextureTargetCubeMapFace. Perhaps the type just needs to be relaxed to:
TextureCubeMapPositiveX
TextureTargetCubeMapFace
framebufferTexture2D :: TwoDimensionalTextureTarget tt => FramebufferTarget -> FramebufferObjectAttachment -> tt -> TextureObject -> Level -> IO ()
?
framebufferTexture2D
is typed as:But
TextureCubeMapPositiveX
is aTextureTargetCubeMapFace
. Perhaps the type just needs to be relaxed to:?