Newer
Older
ubixos / src / sys / graphics / main.cpp
#include "objgfx30.h"
#include <iostream.h>

int main() {
  TPixelFmt pixfmt;
  TGfx0* buf=0;
  buf = new TGfx0();
  pixfmt.BPP=8;
  buf->create(400,400,&pixfmt);
  if (buf) delete buf;
  return(0);
}