mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2025-02-21 12:51:58 +00:00
update rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/shadow2_demo.js.
Signed-off-by: zhoubin <zhoubin113@huawei.com>
This commit is contained in:
parent
06f51d1b9b
commit
47b13b4127
@ -311,7 +311,7 @@ function initFramebuffer(gl) {
|
||||
return null;
|
||||
};
|
||||
framebuffer = gl.createFramebuffer();
|
||||
if (!framebuffer){
|
||||
if (!framebuffer) {
|
||||
return error();
|
||||
}
|
||||
texture = gl.createTexture();
|
||||
|
Loading…
x
Reference in New Issue
Block a user