context reinit support
This commit is contained in:
@@ -49,6 +49,8 @@ RendererMaterial::~RendererMaterial() {
|
||||
|
||||
|
||||
void RendererMaterial::init(int width, int height) {
|
||||
fbo_mat_thumb.reinit();
|
||||
mat_sphere->reinit();
|
||||
resize(width, height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user