mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
[qwaq] Clean up debug in TextContext
This commit is contained in:
parent
e8d947ed8a
commit
14fbdc7df9
1 changed files with 0 additions and 18 deletions
|
@ -74,19 +74,7 @@ static TextContext *screen;
|
||||||
Rect r = { {}, size };
|
Rect r = { {}, size };
|
||||||
Rect t = { pos, rect.extent };
|
Rect t = { pos, rect.extent };
|
||||||
|
|
||||||
wprintf (stdscr, "src: %p\n", srcBuffer);
|
|
||||||
wprintf (stdscr, "srcSize: %d %d\n", srcSize.width, srcSize.height);
|
|
||||||
wprintf (stdscr, "pos: %d %d\n", pos.x, pos.x);
|
|
||||||
wprintf (stdscr, "rect: %d %d %d %d\n",
|
|
||||||
rect.offset.x, rect.offset.y,
|
|
||||||
rect.extent.width, rect.extent.height);
|
|
||||||
wprintf (stdscr, "r: %d %d %d %d\n",
|
|
||||||
r.offset.x, r.offset.y, r.extent.width, r.extent.height);
|
|
||||||
wprintf (stdscr, "t: %d %d %d %d\n",
|
|
||||||
t.offset.x, t.offset.y, t.extent.width, t.extent.height);
|
|
||||||
t = clipRect (r, t);
|
t = clipRect (r, t);
|
||||||
wprintf (stdscr, "t: %d %d %d %d\n",
|
|
||||||
t.offset.x, t.offset.y, t.extent.width, t.extent.height);
|
|
||||||
if (t.extent.width < 0 || t.extent.height < 0) {
|
if (t.extent.width < 0 || t.extent.height < 0) {
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
@ -100,12 +88,6 @@ static TextContext *screen;
|
||||||
r.extent = size;
|
r.extent = size;
|
||||||
|
|
||||||
rect = clipRect (r, rect);
|
rect = clipRect (r, rect);
|
||||||
wprintf (stdscr, "pos: %d %d\n", pos.x, pos.x);
|
|
||||||
wprintf (stdscr, "rect: %d %d %d %d\n",
|
|
||||||
rect.offset.x, rect.offset.y,
|
|
||||||
rect.extent.width, rect.extent.height);
|
|
||||||
wprintf (stdscr, "r: %d %d %d %d\n",
|
|
||||||
r.offset.x, r.offset.y, r.extent.width, r.extent.height);
|
|
||||||
if (rect.extent.width < 0 || rect.extent.height < 0) {
|
if (rect.extent.width < 0 || rect.extent.height < 0) {
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue