Skip to content

renderer: use GL_DEPTH_CLAMP only if GL_ARB_depth_clamp is available - #1173

Merged
illwieckz merged 1 commit into
masterfrom
illwieckz/depth-clamp
Jun 8, 2024
Merged

renderer: use GL_DEPTH_CLAMP only if GL_ARB_depth_clamp is available#1173
illwieckz merged 1 commit into
masterfrom
illwieckz/depth-clamp

Conversation

@illwieckz

@illwieckz illwieckz commented Jun 1, 2024

Copy link
Copy Markdown
Member

Use GL_DEPTH_CLAMP only if GL_ARB_depth_clamp is available.

The GL_ARB_depth_clamp extension was only made required in OpenGL 3.2.

Comment thread src/engine/sys/sdl_glimp.cpp Outdated
The GL_ARB_depth_clamp extension was only made required in OpenGL 3.2.
@illwieckz
illwieckz force-pushed the illwieckz/depth-clamp branch from 63b23e2 to c4395d1 Compare June 8, 2024 19:56
@slipher

slipher commented Jun 8, 2024

Copy link
Copy Markdown
Member

LGTM

@illwieckz
illwieckz merged commit 36ec97b into master Jun 8, 2024
@illwieckz
illwieckz deleted the illwieckz/depth-clamp branch June 8, 2024 21:13
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