Skip to content

Commit

Permalink
bugfix: pass update marker by ref, not by value
Browse files Browse the repository at this point in the history
ioctl() for waiting for refresh/update used a wrong call mechanism
  • Loading branch information
hwhw committed Nov 25, 2014
1 parent 89e23b3 commit 5890cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffi/framebuffer_mxcfb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ local function mxc_update(fb, refarea, refreshtype, waveform_mode, wait, x, y, w
-- if we have a lingering update marker that we should wait for, we do so now:
if fb.mech_wait_update_complete and fb.wait_update_marker[0] ~= 0 then
fb.debug("refresh: wait for update", fb.wait_update_marker[0])
fb.mech_wait_update_complete(fb, fb.wait_update_marker[0])
fb.mech_wait_update_complete(fb, fb.wait_update_marker)
fb.wait_update_marker[0] = 0
end
-- if we should wait (later) for the update we're doing now, we need to register a new
Expand Down

0 comments on commit 5890cb8

Please sign in to comment.