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

RENDERER: Support vid_framebuffer 2 with classic renderer. #977

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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