Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "engine.h"
- void Update()
- {
- Print("Update");
- }
- void Render()
- {
- ClearScreen((Color){1.0f, 0.0f, 0.0f, 1.0f});
- Print("Render");
- }
- void ApplicationStart(ApplicationConfig* config)
- {
- config->screenWidth = 640;
- config->screenHeight = 480;
- config->applicationName = "Test";
- config->Update = Update;
- config->Render = Render;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement