#include <GL/glew.h>
#include <GL/glext.h>
#include <GLFW/glfw3.h>
#include "../defs.h"
#include "../memory.h"
Go to the source code of this file.
|
struct | shader_t |
| Small container and wrapper over OpenGL for shader-related things. In actually it is closer to what OpenGL calls a "program". More...
|
|
◆ shader__compile_opengl_shader_or_panic()
static GLuint shader__compile_opengl_shader_or_panic |
( |
const char * |
src, |
|
|
GLuint |
kind |
|
) |
| |
|
static |
◆ shader_cleanup()
static void shader_cleanup |
( |
shader_t * |
shader | ) |
|
|
static |