summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index feb917ff..042b53a9 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -515,7 +515,7 @@ void draw_Window(iWindow *d) {
515#if 0 515#if 0
516 /* Text cache debugging. */ { 516 /* Text cache debugging. */ {
517 SDL_Texture *cache = glyphCache_Text(); 517 SDL_Texture *cache = glyphCache_Text();
518 SDL_Rect rect = { 140, 60, 1024, 1024 }; 518 SDL_Rect rect = { d->root->rect.size.x - 640, 0, 640, 4 * 640 };
519 SDL_SetRenderDrawColor(d->render, 0, 0, 0, 255); 519 SDL_SetRenderDrawColor(d->render, 0, 0, 0, 255);
520 SDL_RenderFillRect(d->render, &rect); 520 SDL_RenderFillRect(d->render, &rect);
521 SDL_RenderCopy(d->render, glyphCache_Text(), NULL, &rect); 521 SDL_RenderCopy(d->render, glyphCache_Text(), NULL, &rect);