summaryrefslogtreecommitdiff
path: root/height-map-display/src/sprites/loader.h
blob: 5f3a35e92845825e564b5c2053e3c7a2a7f6cfba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef LOADER_H
#define LOADER_H

#include <GL/glew.h>

typedef struct {
    float x, y;
    float width, height;
    GLuint texture_id;
} Sprite;

GLuint load_texture(const char* path);

#endif