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

ui: handle texture size limit #32

Open
deltabeard opened this issue Mar 13, 2022 · 0 comments
Open

ui: handle texture size limit #32

deltabeard opened this issue Mar 13, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@deltabeard
Copy link
Owner

There are currently no checks in place to make sure that created textures are within the texture size limit. Someone using a graphics card with a limit of 64x64 texture will be unable to use this toolkit, for example.

To remedy this, the texture size limit should be recorded on initialisation, and textures should:

  1. Be resized to fit within the texture size limits.
  2. Create multiple textures for a single image if required.
  3. Or both.

Related to #31.

@deltabeard deltabeard added the enhancement New feature or request label Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant