Git patch mistakes
This commit is contained in:
+1
-2
@@ -1007,7 +1007,6 @@ pub fn main() u8 {
|
|||||||
c.wl_surface_damage_buffer(wl_state.surface, 0, 0, wl_state.window_width, wl_state.window_height);
|
c.wl_surface_damage_buffer(wl_state.surface, 0, 0, wl_state.window_width, wl_state.window_height);
|
||||||
c.wl_surface_commit(wl_state.surface);
|
c.wl_surface_commit(wl_state.surface);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const render_start_time: u64 = timer.read();
|
const render_start_time: u64 = timer.read();
|
||||||
|
|
||||||
@@ -1019,7 +1018,7 @@ pub fn main() u8 {
|
|||||||
.stride = wl_state.window_width * 4,
|
.stride = wl_state.window_width * 4,
|
||||||
.data = shared_memory_pool_data,
|
.data = shared_memory_pool_data,
|
||||||
};
|
};
|
||||||
wl_state.app_input.controls = puzzle.platform.Controls{ .key = old_key };
|
// wl_state.app_input.controls = puzzle.platform.Controls{ .key = old_key };
|
||||||
puzzle.updateAndRender(&app_memory, app_offscreen_buffer, &wl_state.app_input);
|
puzzle.updateAndRender(&app_memory, app_offscreen_buffer, &wl_state.app_input);
|
||||||
|
|
||||||
const render_end_time: u64 = timer.read();
|
const render_end_time: u64 = timer.read();
|
||||||
|
|||||||
Reference in New Issue
Block a user