Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ee/graph/include/graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ extern void graph_set_bgcolor(unsigned char r, unsigned char g, unsigned char b)
extern void graph_set_output(int rc1, int rc2, int alpha_select, int alpha_output, int blend_method, unsigned char alpha);

/** Add a vsync interrupt handler */
extern int graph_add_vsync_handler(int (*vsync_callback)());
extern int graph_add_vsync_handler(int (*vsync_callback)(int));

/** Remove a vsync interrupt handler */
extern void graph_remove_vsync_handler(int callback_id);
Expand Down
2 changes: 1 addition & 1 deletion ee/graph/src/graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int graph_initialize(int fbp, int width, int height, int psm, int x, int y)

}

int graph_add_vsync_handler(int (*vsync_callback)())
int graph_add_vsync_handler(int (*vsync_callback)(int))
{

int callback_id;
Expand Down