Skip to content

Commit

Permalink
Disabled Text Rendering on Android.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRichards-Code committed Apr 17, 2023
1 parent 4b598a3 commit f3a6535
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ClientRender/TextCanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ void TextCanvas::Render(GraphicsDeviceContext &deviceContext,platform::crossplat
renderPlatform->SetVertexBuffers(deviceContext, 0, 0, nullptr, nullptr);
fontChars.Apply(deviceContext, effect, _fontChars);
renderPlatform->SetTopology(deviceContext, Topology::TRIANGLELIST);
#if !defined(__ANDROID__)
renderPlatform->Draw(deviceContext, 6 * n, 0);
#endif
effect->UnbindTextures(deviceContext);
renderPlatform->UnapplyPass(deviceContext);
}
Expand Down

0 comments on commit f3a6535

Please sign in to comment.