diff --git a/packages/embedder_texture/aurora/embedder_texture_plugin.cpp b/packages/embedder_texture/aurora/embedder_texture_plugin.cpp index 882d36a..30b42b2 100644 --- a/packages/embedder_texture/aurora/embedder_texture_plugin.cpp +++ b/packages/embedder_texture/aurora/embedder_texture_plugin.cpp @@ -10,13 +10,6 @@ #include #include -const GLfloat pixels[] = { - 1, 0, 0, - 0, 1, 0, - 0, 0, 1, - 1, 1, 1 -}; - void EmbedderTexturePlugin::RegisterWithRegistrar(PluginRegistrar ®istrar) { registrar.RegisterMethodChannel("embedder_texture", @@ -75,7 +68,7 @@ void EmbedderTexturePlugin::onCreate(const MethodCall &call) std::cout << "++++++++++++++++++++" << std::endl; if (texture_id != 0) { -// call.TextureRegister(texture_id); + call.TextureRegister(texture_id); } call.SendSuccessResponse(texture_id);