Every time I try start Leadwerks it opens fine. I can mess with my projects and drag stuff around, create shapes, etc. But, whenever I try to do ANYTHING with the sidebar, such as changing texture or importing a model, it crashes instantly with "Bank Resize Error."
I've already googled this and tried every solution I found, which included restarting your PC and uninstalling/reinstalling the game, to no avail.
How to change the size of the texture resolution?
I create texture .
Texture* Tex = Texture::Create(512, 512);
camera->SetRenderTarget(Tex);
draws its... OK...
context->DrawImage(Tex,0,0);
It is necessary to change the size of the texture .
Here it does not work:
camera->SetRenderTarget(0);
Tex->Release();
Texture* CamTex2 = Texture::Create(1024, 1024); //new size
Tex = CamTex2;
camera->SetRenderTarget(Tex);
After that - a black image :-/
How to decide ?
Thanks.