aboutsummaryrefslogtreecommitdiff
path: root/src/ogl.hpp
blob: 126b21f47f49dee9fe5f56ee1093adecbaf7cb44 (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include <cstdint>

struct OglImage {
    uint32_t glHandle;
    OglImage();
    ~OglImage();
    void upload(const char* data, int w, int h);
};