mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Remove redundant render command
This commit is contained in:
1 parent
8f2069ef71
commit
c882046251
2 files changed
-14
No files matched your search
@@ -1187,19 +1187,6 @@ void GLQueueRunner::PerformRenderPass(const GLRStep &step, bool first, bool last
|
||||
CHECK_GL_ERROR_IF_DEBUG();
|
||||
break;
|
||||
}
|
||||
case GLRRenderCommand::BIND_BUFFER:
|
||||
{
|
||||
if (c.bind_buffer.target == GL_ARRAY_BUFFER) {
|
||||
Crash();
|
||||
} else {
|
||||
// is this used?
|
||||
GLuint buf = c.bind_buffer.buffer ? c.bind_buffer.buffer->buffer_ : 0;
|
||||
_dbg_assert_(!(c.bind_buffer.buffer && c.bind_buffer.buffer->Mapped()));
|
||||
glBindBuffer(c.bind_buffer.target, buf);
|
||||
}
|
||||
CHECK_GL_ERROR_IF_DEBUG();
|
||||
break;
|
||||
}
|
||||
case GLRRenderCommand::GENMIPS:
|
||||
// TODO: Should we include the texture handle in the command?
|
||||
// Also, should this not be an init command?
|
||||
|
||||
@@ -61,7 +61,6 @@ enum class GLRRenderCommand : uint8_t {
|
||||
BINDTEXTURE,
|
||||
BIND_FB_TEXTURE,
|
||||
BIND_VERTEX_BUFFER,
|
||||
BIND_BUFFER,
|
||||
GENMIPS,
|
||||
DRAW,
|
||||
DRAW_INDEXED,
|
||||
|
||||
Reference in new issue
Block a user