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/GFXDeviceDebug.cpp

Diff revisions: vs.
  @@ -161,13 +161,13 @@
161 161
162 162 // Draw labels at the end to reduce number of state changes
163 163 TextLabel label("", Font::DROID_SERIF_BOLD, vec4<U8>(255), 96);
164 - TextElement text(&label, vec2<F32>(10.0f));
165 164 for (const std::pair<stringImpl, vec4<I32>>& entry : labelStack) {
166 165 setViewport._viewport.set(entry.second);
167 166 GFX::SetViewPort(buffer, setViewport);
168 167
169 - text._position.y = entry.second.sizeY - 10.0f;
170 168 label.text(entry.first);
169 + TextElement text(label, vec2<F32>(10.0f));
170 + text._position.y = entry.second.sizeY - 10.0f;
171 171 drawText(text, buffer);
172 172 }
173 173