Skip to content

computeLight_fp: fix compilation when r_highPrecisionRendering is disabled#1314

Merged
illwieckz merged 1 commit intomasterfrom
illwieckz/nohighres
Sep 22, 2024
Merged

computeLight_fp: fix compilation when r_highPrecisionRendering is disabled#1314
illwieckz merged 1 commit intomasterfrom
illwieckz/nohighres

Conversation

@illwieckz
Copy link
Copy Markdown
Member

Fix compilation when r_highPrecisionRendering is disabled.

I don't know if the fix is right, but it fixes building the lightMapping GLSL and I see no visual bugs.

What makes me doubt is that I replace a sampler3D with an usampler3D but I don't know the difference.

This fixes a bug introduced in f960177 from #1105:

Copy link
Copy Markdown
Contributor

@VReaperV VReaperV left a comment

Choose a reason for hiding this comment

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

LGTM.

@illwieckz illwieckz merged commit ac3a76a into master Sep 22, 2024
@illwieckz illwieckz deleted the illwieckz/nohighres branch September 22, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants