mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
FramebufferManager: Bind only the first framebuffer layer when the EFB only has one layer.
This commit is contained in:
parent
6d5e9cb5b1
commit
42bb48bd46
5 changed files with 24 additions and 17 deletions
|
@ -75,6 +75,7 @@ public:
|
|||
static GLuint GetResolvedFramebuffer() { return m_resolvedFramebuffer; }
|
||||
|
||||
static void SetFramebuffer(GLuint fb);
|
||||
static void FramebufferTexture(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
|
||||
|
||||
// If in MSAA mode, this will perform a resolve of the specified rectangle, and return the resolve target as a texture ID.
|
||||
// Thus, this call may be expensive. Don't repeat it unnecessarily.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue