From f3a653541c97f380db0dbe21417e07a5db5b5dbe Mon Sep 17 00:00:00 2001 From: Andrew Richards Date: Mon, 17 Apr 2023 14:33:37 +0100 Subject: [PATCH] Disabled Text Rendering on Android. --- ClientRender/TextCanvas.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ClientRender/TextCanvas.cpp b/ClientRender/TextCanvas.cpp index 09a0199f..169c65cc 100644 --- a/ClientRender/TextCanvas.cpp +++ b/ClientRender/TextCanvas.cpp @@ -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); }