mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Move the CheckGPUFeatures call to the Resize check
This commit is contained in:
parent
1c0158bfe6
commit
b22850720d
@ -680,6 +680,7 @@ void GLES_GPU::UpdateCmdInfo() {
|
||||
|
||||
void GLES_GPU::BeginFrameInternal() {
|
||||
if (resized_) {
|
||||
CheckGPUFeatures();
|
||||
UpdateCmdInfo();
|
||||
transformDraw_.Resized();
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ public:
|
||||
GPUCommon();
|
||||
virtual ~GPUCommon();
|
||||
|
||||
virtual void CheckGPUFeatures() override {}
|
||||
virtual void Reinitialize();
|
||||
|
||||
virtual void InterruptStart(int listid);
|
||||
|
@ -207,8 +207,6 @@ public:
|
||||
|
||||
static const int DisplayListMaxCount = 64;
|
||||
|
||||
virtual void CheckGPUFeatures() = 0;
|
||||
|
||||
// Initialization
|
||||
virtual void InitClear() = 0;
|
||||
virtual void Reinitialize() = 0;
|
||||
|
@ -180,7 +180,6 @@ void EmuScreen::dialogFinished(const Screen *dialog, DialogResult result) {
|
||||
quit_ = false;
|
||||
}
|
||||
RecreateViews();
|
||||
gpu->CheckGPUFeatures();
|
||||
}
|
||||
|
||||
static void AfterStateLoad(bool success, void *ignored) {
|
||||
|
Loading…
Reference in New Issue
Block a user