mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
GPU: Correct Draw2D::DeviceRestore().
This commit is contained in:
parent
fc81b76b98
commit
47b7305bf5
@ -144,10 +144,11 @@ void Draw2D::DeviceLost() {
|
||||
DoRelease(draw2DVs_);
|
||||
DoRelease(draw2DSamplerLinear_);
|
||||
DoRelease(draw2DSamplerNearest_);
|
||||
draw_ = nullptr;
|
||||
}
|
||||
|
||||
void Draw2D::DeviceRestore(Draw::DrawContext *draw) {
|
||||
|
||||
draw_ = draw;
|
||||
}
|
||||
|
||||
void Draw2D::Ensure2DResources() {
|
||||
|
Loading…
Reference in New Issue
Block a user