This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/util/gleasy/program.h

25 lines
452 B
C
Raw Normal View History

#pragma once
#include <stddef.h>
#include <GL/glew.h>
typedef GLuint gleasy_program_t;
gleasy_program_t /* OWNERSHIP */
gleasy_program_new(
const char* header,
size_t header_len,
const char* vsrc,
size_t vsrc_len,
const char* fsrc,
size_t fsrc_len
);
size_t
gleasy_program_get_log(
gleasy_program_t program,
char* dst, /* when NULL, returns actual size */
size_t maxlen
);