is there a nicer way to create an empty canvas ground than this
Code:
CL_Canvas my_canvas(CL_Surface(CL_PixelBuffer(512,512,0,CL_PixelFormat::rgba8888)));
there are too many constructors for me, and it creates a segmentation fault. An other possible solution is to load a surface from a file, but then i have to create an image that isn't needed by anyone, it is only there to tell my canvas ground how big it has to be, and which pixel format it should have.