Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 945 vs 946 for /trunk/Source Code/Platform/Video/OpenGL/GLWrapper.cpp

Diff revisions: vs.
  @@ -796,7 +796,7 @@
796 796 fonsClearState(_fonsContext);
797 797 for (const TextElement& entry : batch())
798 798 {
799 - const TextLabel& textLabel = *entry._textLabel;
799 + const TextLabel& textLabel = entry._textLabel;
800 800 // Retrieve the font from the font cache
801 801 I32 font = getFont(textLabel._font);
802 802 // The font may be invalid, so skip this text label
  @@ -1018,6 +1018,8 @@
1018 1018 popDebugMessage(_context);
1019 1019 } break;
1020 1020 case GFX::CommandType::DRAW_TEXT: {
1021 + Attorney::GFXDeviceAPI::uploadGPUBlock(_context);
1022 +
1021 1023 GFX::DrawTextCommand* crtCmd = static_cast<GFX::DrawTextCommand*>(cmd.get());
1022 1024 drawText(crtCmd->_batch);
1023 1025 }break;