Go to the source code of this file.
◆ _GL_ERROR_CASE_STR
| #define _GL_ERROR_CASE_STR |
( |
|
value | ) |
|
Value: case value: \
return #value
◆ DS3D_GL_FAILED_RETURN
| #define DS3D_GL_FAILED_RETURN |
( |
|
ret, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
Value: do { \
GLenum __gl_err = glGetError(); \
DS3D_FAILED_RETURN( \
__gl_err == GL_NO_ERROR, ret, "GL error: %s, " fmt, \
} while (0)
Definition at line 47 of file sources/libs/ds3d/glprocess/gl_common.h.
◆ DS3D_RETURN_GL_ERROR
◆ DS3D_RETURN_GLFW_ERROR
| #define DS3D_RETURN_GLFW_ERROR |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value: do { \
const char* __description = nullptr; \
int __glfw_code = glfwGetError(&__description); \
if (!__description) \
__description = ""; \
DS3D_FAILED_RETURN( \
__glfw_code == GLFW_NO_ERROR, ErrCode::kGL, "GLFW error: %s, " fmt, __description, \
##__VA_ARGS__); \
} while (0)
Definition at line 34 of file sources/libs/ds3d/glprocess/gl_common.h.
◆ GLFW_INCLUDE_NONE
| #define GLFW_INCLUDE_NONE |