mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
GLES: Refresh the draw context in DrawEngineGLES on DeviceRestore. How did we miss this?
This commit is contained in:
parent
343763cf5a
commit
0d6be3a476
@ -103,7 +103,8 @@ void DrawEngineGLES::DeviceLost() {
|
||||
DestroyDeviceObjects();
|
||||
}
|
||||
|
||||
void DrawEngineGLES::DeviceRestore() {
|
||||
void DrawEngineGLES::DeviceRestore(Draw::DrawContext *draw) {
|
||||
draw_ = draw;
|
||||
InitDeviceObjects();
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,7 @@ public:
|
||||
}
|
||||
|
||||
void DeviceLost();
|
||||
void DeviceRestore();
|
||||
void DeviceRestore(Draw::DrawContext *draw);
|
||||
|
||||
void ClearTrackedVertexArrays() override;
|
||||
void DecimateTrackedVertexArrays();
|
||||
|
@ -351,7 +351,7 @@ void GPU_GLES::DeviceRestore() {
|
||||
|
||||
textureCacheGL_->DeviceRestore(draw_);
|
||||
framebufferManagerGL_->DeviceRestore(draw_);
|
||||
drawEngine_.DeviceRestore();
|
||||
drawEngine_.DeviceRestore(draw_);
|
||||
}
|
||||
|
||||
void GPU_GLES::Reinitialize() {
|
||||
|
Loading…
Reference in New Issue
Block a user