mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
16 lines
206 B
C
16 lines
206 B
C
#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;
|
|
}
|