Added crude input API between platform layer and plugin. Added manual refresh to prevent CPU from blowing up. Added last rendered value to window title.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef WIN32_PLATFORM_H
|
||||
#define WIN32_PLATFORM_H
|
||||
|
||||
typedef void plugin_update_and_render(plugin_offscreen_buffer *Buffer);
|
||||
typedef void plugin_update_and_render(plugin_offscreen_buffer *Buffer, plugin_input *Input);
|
||||
|
||||
struct sdl_plugin_code
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user