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

Bug fix + cvar migration for r_textureMode #1466

Merged
merged 4 commits into from
Dec 27, 2024

Conversation

slipher
Copy link
Member

@slipher slipher commented Dec 19, 2024

No description provided.

src/common/CvarTest.cpp Outdated Show resolved Hide resolved
src/engine/renderer/tr_init.cpp Show resolved Hide resolved
Note: previously I was thinking that I would need a Modified latched
cvar so there are a bunch of tests for that case. But we may end up not
using it.
GL_TextureMode() does not interact with the bound texture unit.

Also clear modified flag there to avoid uselessly updating all the
images in the first frame.
This doesn't work and generates an error for every image:
Warn: DEBUG_TYPE_ERROR: severity: high msg: GL_INVALID_OPERATION error generated. Texture is immutable.
Copy link
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

@slipher slipher merged commit af2ba5a into DaemonEngine:master Dec 27, 2024
9 checks passed
@slipher slipher deleted the texturemode branch December 27, 2024 03:05
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.

2 participants