Move the CheckGPUFeatures call to the Resize check

This commit is contained in:
Henrik Rydgard 2015-09-06 00:13:46 +02:00
parent 1c0158bfe6
commit b22850720d
4 changed files with 1 additions and 4 deletions

View File

@ -680,6 +680,7 @@ void GLES_GPU::UpdateCmdInfo() {
void GLES_GPU::BeginFrameInternal() {
if (resized_) {
CheckGPUFeatures();
UpdateCmdInfo();
transformDraw_.Resized();
}

View File

@ -19,7 +19,6 @@ public:
GPUCommon();
virtual ~GPUCommon();
virtual void CheckGPUFeatures() override {}
virtual void Reinitialize();
virtual void InterruptStart(int listid);

View File

@ -207,8 +207,6 @@ public:
static const int DisplayListMaxCount = 64;
virtual void CheckGPUFeatures() = 0;
// Initialization
virtual void InitClear() = 0;
virtual void Reinitialize() = 0;

View File

@ -180,7 +180,6 @@ void EmuScreen::dialogFinished(const Screen *dialog, DialogResult result) {
quit_ = false;
}
RecreateViews();
gpu->CheckGPUFeatures();
}
static void AfterStateLoad(bool success, void *ignored) {