Conversation
Fix from mercurial https://hg.libsdl.org/SDL/rev/ad4b5d85edee
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix from mercurial https://hg.libsdl.org/SDL/rev/ad4b5d85edee