From ae4bd66999c9aec46c7a6eded182604a0ebebc5c Mon Sep 17 00:00:00 2001 From: Alper Gungormusler Date: Wed, 25 Apr 2018 11:22:55 -0400 Subject: [PATCH] Replace texture id from Integer to NumberObject. --- src/native/webgl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/webgl.cc b/src/native/webgl.cc index 8a3df95d..0f38e5b2 100644 --- a/src/native/webgl.cc +++ b/src/native/webgl.cc @@ -703,7 +703,7 @@ GL_METHOD(CreateTexture) { (inst->glGenTextures)(1, &texture); inst->registerGLObj(GLOBJECT_TYPE_TEXTURE, texture); - info.GetReturnValue().Set(Nan::New(texture)); + info.GetReturnValue().Set(Nan::New(texture)); }