medfall

A super great game engine
Log | Files | Refs

gl.h (233B)


      1 #pragma once
      2 
      3 #include "linear_algebra.h"
      4 
      5 struct GLFWwindow;
      6 
      7 enum WindowType {
      8 	WINDOW_GAME,
      9 	WINDOW_LAUNCHER,
     10 };
     11 
     12 GLFWwindow * gl_init( WindowType window_type );
     13 void gl_term();
     14 
     15 v2u32 get_window_size();
     16 float get_aspect_ratio();