Skip to content

Fix test GITexImage2D for GL30+ - #7858

Open
MonstrousSoftware wants to merge 2 commits into
libgdx:masterfrom
MonstrousSoftware:GlTexImage2D-GL30
Open

MonstrousSoftware wants to merge 2 commits into
libgdx:masterfrom
MonstrousSoftware:GlTexImage2D-GL30

Conversation

@MonstrousSoftware

Copy link
Copy Markdown

The test GITexImage2D did not work under GL30+ (black screen).
Using command line options --gl30 --glErrors resulted in error code 1282 in the log (Invalid Operation)
This was due to VBO operations (glVertexAttribPointer) relying on the default VAO which is deprecated under GL30+ core.
Now the test explicitly creates a VAO when needed.

Adresses (part of) issue #7856

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