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

Allow GLES3 in Angle #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

madrazo
Copy link
Contributor

@madrazo madrazo commented Oct 19, 2017

madrazo added a commit to madrazo/nme that referenced this pull request Oct 20, 2017
merged and improved from haxenme#496 .
Added GL3.hx for GLES3 functions.
It is only activated for windows and android because needs testing on
other targets (ios, linux, mac, emscripten). Windows angle needs
native-toolkit/libsdl#11 , otherwise gets a GLES2
context.
Tested with
https://github.com/madrazo/nme-opengl-tutorials/tree/master/tutorial02_red_triangle
madrazo added a commit to madrazo/nme that referenced this pull request Feb 15, 2018
Initial GLES3.  All changes are within a "#define NME_GLES3" and it is
not activated so it doesn't modify current behaivor.
To use it, build nme/project with -DNME_GLES3 flag or uncomment on
ToolkitBuild.xml
Then use -Dgles3 flag when compiling a haxe NME sample.  Tested on
Windows (Angle) with https://github.com/madrazo/nme-opengl-tutorials
tutorials 1 to 5, with both -Dgles3 and without (current gles2).  Needs
patch for SDL nme-toolkit: native-toolkit/libsdl#11
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.

1 participant