cool
This commit is contained in:
parent
666b6f6d56
commit
d4a5fea127
3 changed files with 12 additions and 2 deletions
|
|
@ -3,8 +3,10 @@
|
|||
#include <string.h>
|
||||
#include <GL/gl.h>
|
||||
#include <stdlib.h>
|
||||
#include <libpng16/png.h>
|
||||
#include "renderer.h"
|
||||
|
||||
|
||||
/// returns 0 if failed.
|
||||
GLuint compile_shader(GLuint type, const char *src) {
|
||||
GLuint id = glCreateShader(type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue