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

CLASSIC: Reuse the FXAA support. #973

Merged
merged 5 commits into from
Dec 12, 2024
Merged

Conversation

dsvensson
Copy link
Collaborator

  • Extracts FXAA implementation to a separate header and allows it to be used in the classic renderer as well.
  • macOS requires initialization of samplers, fixes vid_framebuffer 2 there.
  • Remove ifdefs around framebuffer settings in menu as they apply to classic as well.

Easier interop with string functions.
If filtering has not been initialized, the shader will fail on macOS
with the following error:

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D
is unloadable and bound to sampler type (Float) - using zero texture
because texture unloadable

This only applies a default, some textures will override this later.

This allows macOS to use vid_framebuffer 2.
@dsvensson dsvensson merged commit 3176582 into QW-Group:master Dec 12, 2024
6 checks passed
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