You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw in the forum thread that it didn't work with Emscripten, but I found the issue that was stopping it. The Graphics::Draw call used (the one specifying the baseVertexIndex) is not supported without GL3 support. Simply removing the specification of 0 for the base vertex index, as below, results in it working when built for Emscripten rather than silently failing.
// In SystemUI.cpp
graphics->Draw(TRIANGLE_LIST, idxBufferOffset, cmd->ElemCount, /*0,*/ 0, vertexBuffer_.GetVertexCount());
The text was updated successfully, but these errors were encountered:
I saw in the forum thread that it didn't work with Emscripten, but I found the issue that was stopping it. The
Graphics::Draw
call used (the one specifying the baseVertexIndex) is not supported without GL3 support. Simply removing the specification of 0 for the base vertex index, as below, results in it working when built for Emscripten rather than silently failing.The text was updated successfully, but these errors were encountered: