mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Use gstate.* accessors in a few more places.
This commit is contained in:
1 parent
55e02369a5
commit
c141e94fe9
11 files changed
+20
-18
No files matched your search
@@ -475,7 +475,7 @@ void FramebufferManager::SetRenderFrameBuffer() {
|
||||
// As there are no clear "framebuffer width" and "framebuffer height" registers,
|
||||
// we need to infer the size of the current framebuffer somehow. Let's try the viewport.
|
||||
|
||||
GEBufferFormat fmt = static_cast<GEBufferFormat>(gstate.framebufpixformat & 3);
|
||||
GEBufferFormat fmt = gstate.FrameBufFormat();
|
||||
|
||||
int drawing_width, drawing_height;
|
||||
GuessDrawingSize(drawing_width, drawing_height);
|
||||
|
||||
Reference in new issue
Block a user