ValveSoftware / ValveSoftware/wine
OpenGL issues (DEPTH_TEST) in Serious Sam Classic
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 2k
- Forks
- 488
- PR merge metrics
- No merged PRs in 30d
Description
Depth test does not work. Seems to be a bug somewhere in wgl/glx translation layer. Check if depth buffer size translated correctly
SeriousEditor has the same issue
In D3D mode game does not draw anything with such errors:
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
https://github.com/ValveSoftware/wine/blob/proton_3.7/dlls/opengl32/wgl.c
vega 11, amdgpu
glxinfo:
https://pastebin.com/LpjkiwyD
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with dlls/opengl32/wgl.c and the reported DEPTH_TEST, depth-buffer, and glMatrixMode errors; compare the WGL/GLX translation with the linked Proton version. Reproduce in Serious Sam Classic or SeriousEditor using the supplied Mesa and glxinfo context, then verify that OpenGL and D3D modes render without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100