summaryrefslogtreecommitdiff
path: root/src/texture.h
blob: 721356bc9cd45c81972f5d71d1c2c00ea0a357ab (plain) (blame)
1
2
3
4
5
6
7
8
9
#pragma once
#include "glad/glad.h"
struct texture {
    GLuint _tbo;
};

void texture_init(struct texture** texture);
void texture_load(struct texture* texture, char* path);
void texture_draw(struct texture* texture);