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

Minor changes to SDL.Version struct a new class #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Blizzardo1
Copy link
Contributor

I've upgraded SDL.Version to accept conditional handling such as checking against specific versions of SDL. SdlAvailableAttribute class was created in hopes that it can aide in certain methods of checking whether the requirement is met. For example: SDL.Vulkan_LoadLibrary requires 2.0.6 as this function evidently is only available in that build of SDL. Eventually, I would like to adopt this to every function available to the end-user as a safety net. I wouldn't commit this just yet as there's not enough to make it worth while.

@Blizzardo1
Copy link
Contributor Author

I question this a year later

@Blizzardo1 Blizzardo1 marked this pull request as ready for review July 22, 2023 00:52
@GeorchW
Copy link
Owner

GeorchW commented Aug 1, 2023

You mean, you're not sure if the changes make sense any more? Or you question the review?

@Blizzardo1
Copy link
Contributor Author

I've only questioned it because it was left as a draft and not an actual pull request. For now, this looks good to me and is ready for review.

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.

None yet

2 participants