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

Wrong OpenGL framebuffer attachment for Texture2DMSArray #5

Closed
LukasBanana opened this issue Sep 4, 2017 · 1 comment
Closed

Wrong OpenGL framebuffer attachment for Texture2DMSArray #5

LukasBanana opened this issue Sep 4, 2017 · 1 comment
Assignees
Labels

Comments

@LukasBanana
Copy link
Owner

LukasBanana commented Sep 4, 2017

GLFramebuffer::AttachTexture3D(attachment, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, textureID, 0, attachmentDesc.layer);

Must be GLFramebuffer::AttachTextureLayer instead.
glFramebufferTexture3D only allows GL_TEXTURE_3D as texture-target.

@LukasBanana LukasBanana self-assigned this Sep 5, 2017
@LukasBanana LukasBanana added the bug label Sep 5, 2017
@LukasBanana
Copy link
Owner Author

Fixed with 63e27ea.

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

No branches or pull requests

1 participant