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

glTexImage2D support on GWT #7378

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

Conversation

Ret-Mode
Copy link

@Ret-Mode Ret-Mode commented Apr 6, 2024

This PR adds ability to upload bytes as texture with a call to glTexImage2D on gwt target,

Currently on gwt this call expects always int buffers, and if the size is 1, then it is assumed that the int is actually index of a pixmap.

Test was also added targeting lwjgl3 and gwt, to verify that glTexImage2d actually works and that pixmap functionality was not broken (i can check currently only on those two platforms).

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

1 participant