Sign in
plan9port
/
plan9
/
294f22a4705f221b9f5cf0d8df0dc7cf7626b886
/
.
/
src
/
libdraw
/
debug.c
blob: 3a6788a83e3abb110cf031aed4be78a7ba8ba70b [
file
] [
log
] [
blame
]
#include
<u.h>
#include
<libc.h>
#include
<draw.h>
void
drawsetdebug
(
int
v
)
{
uchar
*
a
;
a
=
bufimage
(
display
,
1
+
1
);
if
(
a
==
0
){
fprint
(
2
,
"drawsetdebug: %r\n"
);
return
;
}
a
[
0
]
=
'D'
;
a
[
1
]
=
v
;
}