Blender  V3.3
Macros | Functions
#include "glew-mx.h"
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define CASE_CODE_RETURN_STR(code)
 

Functions

static const char * get_glew_error_enum_string (GLenum error)
 
GLenum glew_chk (GLenum error, const char *file, int line, const char *text)
 

Macro Definition Documentation

◆ CASE_CODE_RETURN_STR

#define CASE_CODE_RETURN_STR (   code)
Value:
case code: \
return #code;

Definition at line 13 of file glew-mx.c.

Function Documentation

◆ get_glew_error_enum_string()

static const char* get_glew_error_enum_string ( GLenum  error)
static

Definition at line 17 of file glew-mx.c.

References CASE_CODE_RETURN_STR, error(), and NULL.

Referenced by glew_chk().

◆ glew_chk()

GLenum glew_chk ( GLenum  error,
const char *  file,
int  line,
const char *  text 
)

Definition at line 35 of file glew-mx.c.

References error(), file, get_glew_error_enum_string(), and void.