Share retained RTT clear dispatch
This commit is contained in:
@@ -38,6 +38,11 @@ inline void set_opengl_color_mask(std::uint8_t r, std::uint8_t g, std::uint8_t b
|
||||
glColorMask(r, g, b, a);
|
||||
}
|
||||
|
||||
inline void get_opengl_boolean(std::uint32_t name, std::uint8_t* value) noexcept
|
||||
{
|
||||
glGetBooleanv(static_cast<GLenum>(name), reinterpret_cast<GLboolean*>(value));
|
||||
}
|
||||
|
||||
inline void set_opengl_clear_color(float r, float g, float b, float a) noexcept
|
||||
{
|
||||
glClearColor(r, g, b, a);
|
||||
|
||||
Reference in New Issue
Block a user