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:
Michael Smith
2019-02-06 10:32:31 +01:00
parent 0e5ce7ec07
commit 2f6c88f435
6 changed files with 59 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ const uint32_t WINDOW_HEIGHT = 250;
global_variable bool Running = true;
global_variable sdl_offscreen_buffer GlobalBackbuffer;
void PluginUpdateAndRenderStub(plugin_offscreen_buffer *Buffer)
void PluginUpdateAndRenderStub(plugin_offscreen_buffer *Buffer, plugin_input *Input)
{
}