Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to call glFramebufferTexture2D with GL_TEXTURE_CUBE_MAP_POSITIVE_X (or other cube map faces) #58

Open
ocharles opened this issue Sep 25, 2014 · 0 comments

Comments

@ocharles
Copy link

framebufferTexture2D is typed as:

framebufferTexture2D :: FramebufferTarget -> FramebufferObjectAttachment -> TextureTarget2D -> TextureObject -> Level -> IO ()

But TextureCubeMapPositiveX is a TextureTargetCubeMapFace. Perhaps the type just needs to be relaxed to:

framebufferTexture2D :: TwoDimensionalTextureTarget tt => FramebufferTarget -> FramebufferObjectAttachment -> tt -> TextureObject -> Level -> IO ()

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant