mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Missed changes
This commit is contained in:
parent
083c4fc855
commit
8637754d6a
@ -427,7 +427,7 @@ void GLGSRender::on_exit()
|
||||
{
|
||||
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
||||
|
||||
m_prog_buffer.clear();
|
||||
programs_cache.clear();
|
||||
|
||||
if (draw_fbo)
|
||||
draw_fbo.remove();
|
||||
@ -542,8 +542,8 @@ bool GLGSRender::load_program()
|
||||
m_program->use();
|
||||
|
||||
// u32 fragment_constants_sz = m_prog_buffer.get_fragment_constants_buffer_size(fragment_program);
|
||||
info.fragment_shader.decompiled->constants.size() * sizeof(f32) * 4;
|
||||
u32 fragment_constants_sz = fragment_constants_sz = std::max(32U, fragment_constants_sz);
|
||||
u32 fragment_constants_sz = info.fragment_shader.decompiled->constants.size() * sizeof(f32) * 4;
|
||||
fragment_constants_sz = std::max(32U, fragment_constants_sz);
|
||||
u32 max_buffer_sz = 8192 + 512 + fragment_constants_sz;
|
||||
|
||||
u32 is_alpha_tested = !!(rsx::method_registers[NV4097_SET_ALPHA_TEST_ENABLE]);
|
||||
|
@ -41,7 +41,6 @@ public:
|
||||
gl::fbo draw_fbo;
|
||||
|
||||
private:
|
||||
GLProgramBuffer m_prog_buffer;
|
||||
|
||||
//buffer
|
||||
gl::fbo m_flip_fbo;
|
||||
|
Loading…
Reference in New Issue
Block a user