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

[Feature] Option to define a null TextureID #2663

Open
jekyllgrim opened this issue Aug 10, 2024 · 0 comments
Open

[Feature] Option to define a null TextureID #2663

jekyllgrim opened this issue Aug 10, 2024 · 0 comments
Assignees

Comments

@jekyllgrim
Copy link
Contributor

GZDoom version

GZDoom 4.12.2

Which game are you running with GZDoom?

None

What Operating System are you using?

None

If Other OS, please describe

No response

Relevant hardware info

No response

Is your feature request related to a problem? Please describe.

It's currently not possible to define a null TextureID. In a code block this is solved by manually calling SetNull() or SetInvalid() on a previously declared TextureID, but this doesn't cut it for functions: it's not possible to define an optional TextureID-type argument, since neither TextureID tex = 0 nor TextureID tex = null are recognized.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Add any other context or screenshots about the feature request here.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants