oglc/src/gfx.h

20 lines
267 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-07 00:49:22 +01:00
SDL_Window* gfxInit();
2021-07-04 02:53:37 +01:00
2021-07-05 01:05:37 +01:00
unsigned int compileShaderProgram();
2021-07-09 01:00:19 +01:00
void createTextureFromFile();
void setVertexAttributes();
void initBuffers();