[Issue#]
[Problem]
[Cause] Some testcases of renderbuffer deletion are failed in fastpath.
[Solution]
- Fixed invalid references.
{
GLGlueContext *cur_gctx = (GLGlueContext *)current->value;
- if (cur_gctx->gl_framebuffer_binding[0] == framebuffers[i])
+ if (cur_gctx->gl_framebuffer_binding[0] == objid_array[i])
{
cur_gctx->_bind_flag &= (~FLAG_BIT_2);
cur_gctx->gl_framebuffer_binding[0] = 0;
{
GLGlueContext *cur_gctx = (GLGlueContext *)current->value;
- if (cur_gctx->gl_renderbuffer_binding[0] == renderbuffers[i])
+ if (cur_gctx->gl_renderbuffer_binding[0] == objid_array[i])
{
cur_gctx->_bind_flag &= (~FLAG_BIT_3);
cur_gctx->gl_renderbuffer_binding[0] = 0;