diff options
Diffstat (limited to 'libvideoeditor/lvpp')
-rwxr-xr-x | libvideoeditor/lvpp/NativeWindowRenderer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libvideoeditor/lvpp/NativeWindowRenderer.cpp b/libvideoeditor/lvpp/NativeWindowRenderer.cpp index 0f3ea3c..b2c2675 100755 --- a/libvideoeditor/lvpp/NativeWindowRenderer.cpp +++ b/libvideoeditor/lvpp/NativeWindowRenderer.cpp @@ -571,10 +571,8 @@ RenderInput::RenderInput(NativeWindowRenderer* renderer, GLuint textureId) : mRenderer(renderer) , mTextureId(textureId) { mST = new SurfaceTexture(mTextureId); - uint32_t outWidth, outHeight, outTransform; - mST->connect(NATIVE_WINDOW_API_MEDIA, &outWidth, &outHeight, &outTransform); - mSTC = new SurfaceTextureClient(mST); + native_window_connect(mSTC.get(), NATIVE_WINDOW_API_MEDIA); } RenderInput::~RenderInput() { |