diff --git a/example/NullWindow/main.cpp b/example/NullWindow/main.cpp index 874d9ae9..936a68fe 100644 --- a/example/NullWindow/main.cpp +++ b/example/NullWindow/main.cpp @@ -1,5 +1,6 @@ #include #include +#include using namespace hgl; @@ -10,7 +11,9 @@ void put(const struct VideoMode *vm) void put(const struct Display *disp) { - std::cout<<"["<name.c_str()<<"]["<width<<"x"<height<<"]["<x<<","<y<<"]"<width*disp->width)+(disp->height*disp->height))*0.03937008; + + std::cout<<"["<name.c_str()<<"]["<width<<"x"<height<<" mm,"<x<<","<y<<"]"<GetCurVideoMode());