Skip to content

Increased OpenGL ES compatibility#77

Open
dvangestel wants to merge 1 commit into
rougier:masterfrom
dvangestel:master
Open

Increased OpenGL ES compatibility#77
dvangestel wants to merge 1 commit into
rougier:masterfrom
dvangestel:master

Conversation

@dvangestel

Copy link
Copy Markdown

change indices from unsigned int to unsigned short since glDrawElements doesn't support GL_UNSIGNED_INT unless you have the GL_OES_element_index_uint extension
change GL_RED to GL_LUMINANCE since GL_RED doesn't exist in OpenGL ES

change indices from unsigned int to unsigned short since glDrawElements doesn't support GL_UNSIGNED_INT unless you have the GL_OES_element_index_uint extension
change GL_RED to GL_LUMINANCE since GL_RED doesn't exist in OpenGL ES
Comment thread texture-atlas.c

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might have a conflict here with OpenGL > 3

@rougier

rougier commented Sep 1, 2015

Copy link
Copy Markdown
Owner

Thanks for the PR. I think it needs more testing from the community because I suspect it might break things (even if Travis is ok) because of the change from int to short.

@rougier

rougier commented Dec 21, 2015

Copy link
Copy Markdown
Owner

Sorry for the long delay, can you update your PR (rebase) ?

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