Update some of the OpenGL demos so things can be built with emscripten #2076
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.
In preparation for Emscripten support to be merged in, there is a demo site prepared. This updates some of the OpenGL samples that are shown on that site so that once Emscripten stuff is merged in, the samples will be able to be built.
This should should be against the current master state at commit 642dbbd so it should be ok to merge in now if desired; I've tested on Windows and demos all still work.
No worries if this ought to wait, figured might as well prep something.
One note - for the
NormalMapping
sample, for whatever reason, when loading the mesh as an asset, the wrong version number is somehow read and as a result the build will fail. This includes a copy so it can be pulled as a resource so that source for the sample doesn't have to be re-written too much; if it's cool to do a bit more re-writing so that everything is loaded as a resource, I can do that.