diff --git a/src/modules/graphics/opengl/wrap_Graphics.lua b/src/modules/graphics/opengl/wrap_Graphics.lua index 823779cc4..8940bd790 100644 --- a/src/modules/graphics/opengl/wrap_Graphics.lua +++ b/src/modules/graphics/opengl/wrap_Graphics.lua @@ -366,7 +366,7 @@ function love.graphics.newVideo(file, loadaudio) elseif loadaudio == true then error("Video had no audio track", 2) else - video:getStream():setSync(love.video.newRemote()) + video:getStream():setSync() end return video diff --git a/src/modules/graphics/opengl/wrap_Video.lua b/src/modules/graphics/opengl/wrap_Video.lua index 739f376a0..931040191 100644 --- a/src/modules/graphics/opengl/wrap_Video.lua +++ b/src/modules/graphics/opengl/wrap_Video.lua @@ -25,13 +25,6 @@ misrepresented as being the original software. local Video_mt = ... local Video = Video_mt.__index -function Video:loadRemote() - local stream = self:getStream() - local remote = love.video.newRemote() - stream:setSync(remote) - return remote -end - function Video:setSource(source) self:_setSource(source) self:getStream():setSync(source)