[PICA] Add VSH_ATTR_NUM to reg definition

This commit is contained in:
wheremyfoodat 2023-03-06 01:24:05 +02:00
parent dca560a8da
commit 6ecdf71dbc
2 changed files with 1 additions and 1 deletions

View file

@ -75,6 +75,7 @@ namespace PICAInternalRegs {
PrimitiveConfig = 0x25E,
// Vertex shader registers
VertexShaderAttrNum = 0x242,
VertexBoolUniform = 0x2B0,
VertexIntUniform0 = 0x2B1,
VertexIntUniform1 = 0x2B2,

View file

@ -56,7 +56,6 @@ struct ColourBuffer {
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
Helpers::panic("Incomplete framebuffer");
//glBindRenderbuffer(GL_RENDERBUFFER, 0);
// TODO: This should not clear the framebuffer contents. It should load them from VRAM.
GLint oldViewport[4];