Added assert.h include

This commit is contained in:
JonasJan2 2024-06-24 12:58:48 +02:00
parent 53ae95e466
commit 324db7b293
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <GL/glew.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
/**
* Loads an object.

View File

@ -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);