mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
D3D12Renderer: fixed some compilation errors
Removed GSFrameBase2 and D3DGSFrame. Added frame for NullRender. Minor improvements and fixes
This commit is contained in:
parent
1c890f85c5
commit
4fdeeace66
30 changed files with 609 additions and 677 deletions
|
|
@ -70,7 +70,13 @@ namespace gl
|
|||
void fbo::draw_buffers(const std::initializer_list<attachment>& indexes) const
|
||||
{
|
||||
save_binding_state save(*this);
|
||||
__glcheck glDrawBuffers((GLsizei)indexes.size(), (const GLenum*)indexes.begin());
|
||||
std::vector<GLenum> ids;
|
||||
ids.reserve(indexes.size());
|
||||
|
||||
for (auto &index : indexes)
|
||||
ids.push_back(index.id());
|
||||
|
||||
__glcheck glDrawBuffers((GLsizei)ids.size(), ids.data());
|
||||
}
|
||||
|
||||
void fbo::draw_arrays(draw_mode mode, GLsizei count, GLint first) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue