Files
libsm64/test/context.h
T
NepuShiro d3ea4e5e99
Build libsm64 / Build libsm64 for linux (push) Successful in 30s
Build libsm64 / Build libsm64 for web (push) Successful in 30s
Build libsm64 / Build libsm64 for windows (push) Successful in 23s
Reformat to something more readable for me :3
2026-05-24 12:13:35 -05:00

26 lines
539 B
C

#pragma once
#include <stdbool.h>
#ifdef __APPLE__
# include <OpenGL/gl3.h>
# include <SDL2/SDL.h>
#elif _WIN32
# define HAVE_M_PI
# include <GL/glew.h>
# include <SDL2/SDL.h>
#else
# include <GL/glew.h>
# include <SDL2/SDL.h>
#endif
extern int WINDOW_WIDTH;
extern int WINDOW_HEIGHT;
extern void context_init(const char *title, int width, int height, int major, int minor);
extern bool context_flip_frame_poll_events(void);
extern SDL_GameController *context_get_controller(void);
extern void context_terminate(void);