Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1. #include "engine.h"
  2.  
  3. void Update()
  4. {
  5.     Print("Update");
  6. }
  7.  
  8. void Render()
  9. {
  10.     ClearScreen((Color){1.0f, 0.0f, 0.0f, 1.0f});
  11.     Print("Render");
  12. }
  13.  
  14. void ApplicationStart(ApplicationConfig* config)
  15. {
  16.     config->screenWidth = 640;
  17.     config->screenHeight = 480;
  18.     config->applicationName = "Test";
  19.     config->Update = Update;
  20.     config->Render = Render;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement