Skip to content

OPENGL2: my nvidia driver 525.147.05 return GL_NO_ERROR here#265

Open
mgerhardy wants to merge 1 commit into
mainfrom
pr/ogl2-framebuffer
Open

OPENGL2: my nvidia driver 525.147.05 return GL_NO_ERROR here#265
mgerhardy wants to merge 1 commit into
mainfrom
pr/ogl2-framebuffer

Conversation

@mgerhardy

Copy link
Copy Markdown
Member

according to the docs this is not expected: https://docs.gl/gl3/glCheckFramebufferStatus

@zturtleman

zturtleman commented May 28, 2024

Copy link
Copy Markdown
Contributor

The linked docs page says "Additionally, if an error occurs, zero is returned." GL_NO_ERROR is 0 but it's suppose to mean there is an error here.

Some (old) results online suggest it happens if the framebuffer isn't bound or the OpenGL context isn't current on this thread. I don't know why that would apply here though. You could try running it with +set r_ext_direct_state_access 0 and see if it makes a difference (due to driver issues with the EXT version of the extension). Otherwise it probably requires more testing to determine if glCheckFramebufferStatus() returns 0 in all applications or just WoP (and maybe ioq3, I don't know).

Edit: Could also check if glGetError() reports anything here as it sounds like "returns 0" means check glGetError().

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