Added assert.h include
This commit is contained in:
parent
53ae95e466
commit
324db7b293
|
@ -3,6 +3,7 @@
|
|||
#include <GL/glew.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
/**
|
||||
* Loads an object.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <GL/glew.h>
|
||||
#include "shader.h"
|
||||
#include <assert.h>
|
||||
|
||||
void compileShader(const GLchar *shaderSource, Shader *shader) {
|
||||
assert(shaderSource != NULL);
|
||||
|
|
Loading…
Reference in New Issue