Merge pull request #29783 from Faless/js/fix_build
Fix HTML5 build failed due to undefined symbol
This commit is contained in:
commit
7e108da078
1 changed files with 4 additions and 1 deletions
|
@ -4688,6 +4688,7 @@ void RasterizerStorageGLES2::_render_target_allocate(RenderTarget *rt) {
|
|||
/* BACK FBO */
|
||||
/* For MSAA */
|
||||
|
||||
#ifndef JAVASCRIPT_ENABLED
|
||||
if (rt->msaa != VS::VIEWPORT_MSAA_DISABLED && config.multisample_supported) {
|
||||
|
||||
rt->multisample_active = true;
|
||||
|
@ -4743,7 +4744,9 @@ void RasterizerStorageGLES2::_render_target_allocate(RenderTarget *rt) {
|
|||
|
||||
glBindRenderbuffer(GL_RENDERBUFFER, 0);
|
||||
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
rt->multisample_active = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue