Implement stepping via KEY_SPACE
This commit is contained in:
@@ -152,6 +152,11 @@ int main(void)
|
||||
format_str_width = MeasureText(format_str.c_str(), FONT_SIZE * 2);
|
||||
}
|
||||
|
||||
if (IsKeyPressed(KEY_SPACE))
|
||||
{
|
||||
state.pause_work = !state.pause_work;
|
||||
}
|
||||
|
||||
// Draw
|
||||
|
||||
ClearBackground(BLACK);
|
||||
|
||||
Reference in New Issue
Block a user