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/sample/shadow_demo.js.
Signed-off-by: zhoubin <zhoubin113@huawei.com>
This commit is contained in:
parent
ee63cdfb8b
commit
06f51d1b9b
@ -313,7 +313,7 @@ function initFramebuffer(gl) {
|
||||
return error();
|
||||
}
|
||||
texture = gl.createTexture();
|
||||
if (!texture){
|
||||
if (!texture) {
|
||||
return error();
|
||||
}
|
||||
gl.bindTexture(gl.TEXTURE_2D, texture);
|
||||
|
Loading…
x
Reference in New Issue
Block a user