Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
glassert.h File Reference
#include <iostream>
#include <GL/glew.h>
Include dependency graph for glassert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fireworks
 

Macros

#define ASSERT(x)   if (!(x))
 
#define GLCall(x)
 Check the OpenGL functions for any errors and reports them. More...
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT (   x)    if (!(x))

◆ GLCall

#define GLCall (   x)
Value:
GLClearError();\
(x);\
ASSERT(GLLogCall(#x, __FILE__, __LINE__))

Check the OpenGL functions for any errors and reports them.