revolver

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

platform_inc.c (534B)


      1 //////////////////////////////////////////////////////////////////
      2 // platform_inc.c
      3 
      4 #include "platform_core.c"
      5 #include "platform_math.c"
      6 #include "platform_arena.c"
      7 #include "platform_string.c"
      8 
      9 #if RV_WIN_ENABLED
     10     #include "gfx/platform_gfx.c"
     11 #endif
     12 
     13 #if RV_WIN_X11
     14     #include "gfx/xcb_impl.c"
     15 #elif RV_WIN_WAYLAND
     16     #error Wayland not implemented
     17 #elif RV_WIN_WINDOWS
     18     #error Windows GFX not implemented
     19 #elif RV_WIN_GLFW
     20     #include "gfx/glfw.c"
     21 #endif
     22 
     23 #if RV_RENDER_OPENGL
     24     #include "../external/glad.c"
     25 #endif