diff --git a/src/sys/graphics/main.cpp b/src/sys/graphics/main.cpp index 1add3a3..119759b 100755 --- a/src/sys/graphics/main.cpp +++ b/src/sys/graphics/main.cpp @@ -1,3 +1,9 @@ +/********************************************************************** +will add copyright bs later + +$Id$ +**********************************************************************/ + #include "objgfx30.h" #include @@ -6,7 +12,7 @@ TGfx0* buf=0; buf = new TGfx0(); pixfmt.BPP=8; - buf->create(400,400,def_pixfmt_16bpp); + buf->create(400,400,(TPixelFmt *)&def_pixfmt_16bpp); cout << def_pixfmt_16bpp.BPP << endl; cout << buf->BPP << endl; cout << buf->RedShifter << endl;