Skip to content

Remove depth texture from RenderTexture struct #4991

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

Closed
wants to merge 2 commits into from

Conversation

M374LX
Copy link
Contributor

@M374LX M374LX commented Jun 12, 2025

It is created but not used, apparently.

Update: It actually breaks some of the shader examples, but could these examples have their own depth textures instead of relying on one present in the RenderTexture struct?

The broken examples are:

shaders_hybrid_render.c
shaders_shadowmap.c
shaders_view_depth.c
shaders_write_depth.c

@raysan5
Copy link
Owner

raysan5 commented Jun 13, 2025

@M374LX Depth texture is required.

@raysan5 raysan5 closed this Jun 13, 2025
@M374LX M374LX deleted the remove-depth-texture branch June 16, 2025 02:11
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