oglc/src/gfx.h

18 lines
235 B
C
Raw Normal View History

2021-07-04 02:53:37 +01:00
#pragma once
#define GLEW_STATIC
#include "GL/glew.h"
2021-07-05 08:51:55 +01:00
2021-07-04 02:53:37 +01:00
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include "io.h"
2021-07-05 01:05:37 +01:00
void gfxInit();
SDL_Window* getWindow();
SDL_GLContext* getContext();
2021-07-04 02:53:37 +01:00
2021-07-05 01:05:37 +01:00
unsigned int compileShaderProgram();