mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-27 12:05:43 +00:00
Assert state on first frame.
This won't matter much for games, but makes tests run more sanely.
This commit is contained in:
parent
46717fa266
commit
c37d41c88c
@ -438,6 +438,10 @@ DIRECTX9_GPU::DIRECTX9_GPU()
|
||||
UpdateCmdInfo();
|
||||
|
||||
BuildReportingInfo();
|
||||
|
||||
// Some of our defaults are different from hw defaults, let's assert them.
|
||||
// We restore each frame anyway, but here is convenient for tests.
|
||||
dxstate.Restore();
|
||||
}
|
||||
|
||||
void DIRECTX9_GPU::UpdateCmdInfo() {
|
||||
|
@ -446,6 +446,10 @@ GLES_GPU::GLES_GPU()
|
||||
BuildReportingInfo();
|
||||
// Update again after init to be sure of any silly driver problems.
|
||||
UpdateVsyncInterval(true);
|
||||
|
||||
// Some of our defaults are different from hw defaults, let's assert them.
|
||||
// We restore each frame anyway, but here is convenient for tests.
|
||||
glstate.Restore();
|
||||
}
|
||||
|
||||
GLES_GPU::~GLES_GPU() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user