mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
rsx: Reorganize framebuffer setup code
- Fixes some fast paths for framebuffer creation and binding
This commit is contained in:
parent
95c6ac699b
commit
f20fd217f8
5 changed files with 69 additions and 19 deletions
|
@ -296,6 +296,16 @@ namespace gl
|
|||
m_id = id;
|
||||
}
|
||||
|
||||
void fbo::set_extents(size2i extents)
|
||||
{
|
||||
m_size = extents;
|
||||
}
|
||||
|
||||
size2i fbo::get_extents() const
|
||||
{
|
||||
return m_size;
|
||||
}
|
||||
|
||||
void texture::settings::apply(const texture &texture) const
|
||||
{
|
||||
save_binding_state save(texture);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue