Skip to content

Conversation

@dsvensson
Copy link
Collaborator

@dsvensson dsvensson commented Dec 23, 2024

Without GL_ARB_draw_buffers, vid_framebuffer 2 results in a black screen on macOS.

strlcat(included_definitions, "#extension GL_ARB_draw_buffers : enable\n", sizeof(included_definitions));
} else if (SDL_GL_ExtensionSupported("GL_EXT_draw_buffers")) {
strlcat(included_definitions, "#extension GL_EXT_draw_buffers : enable\n", sizeof(included_definitions));
}
Copy link
Collaborator Author

@dsvensson dsvensson Dec 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might actually not be needed if OpenGL on macOS is initialized to a higher OpenGL version. Currently it's detected as 0,0 - which enables 2,1 behavior, when it really should get 3.1 or 3.2 behavior or smth.

@dsvensson dsvensson marked this pull request as draft December 27, 2024 07:23
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

Successfully merging this pull request may close these issues.

1 participant