Error when creating canvas
Posted: Sat Jul 15, 2017 8:02 am
Hello,
My game receives this error when creating a new normal 8rgba canvas where I do not know why:
"Cannot create canvas: Texture format cannot be rendered to on this system."
I can reproduce this error when creating thousands of canvases until my system runs out of memory, but I'm very sure my game doesn't do this and it still crashes, sometimes early, sometimes later and not always. My game uses canvases to render chunks of the world and the amount of canvases can easily be limited, but as I said I do not think it reached a limit. On my cheap netbook, 2GB RAM, and maybe ~512 MB VRAM I can create 2200 512x512 8rgba canvases.
Are there any other reasons this error might appear?
My game receives this error when creating a new normal 8rgba canvas where I do not know why:
"Cannot create canvas: Texture format cannot be rendered to on this system."
I can reproduce this error when creating thousands of canvases until my system runs out of memory, but I'm very sure my game doesn't do this and it still crashes, sometimes early, sometimes later and not always. My game uses canvases to render chunks of the world and the amount of canvases can easily be limited, but as I said I do not think it reached a limit. On my cheap netbook, 2GB RAM, and maybe ~512 MB VRAM I can create 2200 512x512 8rgba canvases.
Are there any other reasons this error might appear?