|
@@ -22,8 +22,10 @@ Optional<ContextParameter> GLContext::get_context_parameter(GLenum name)
|
|
|
return ContextParameter { .type = GL_BOOL, .is_capability = true, .value = { .boolean_value = m_alpha_test_enabled } };
|
|
|
case GL_BLEND:
|
|
|
return ContextParameter { .type = GL_BOOL, .is_capability = true, .value = { .boolean_value = m_blend_enabled } };
|
|
|
+ case GL_BLEND_DST:
|
|
|
case GL_BLEND_DST_ALPHA:
|
|
|
return ContextParameter { .type = GL_INT, .value = { .integer_value = static_cast<GLint>(m_blend_destination_factor) } };
|
|
|
+ case GL_BLEND_SRC:
|
|
|
case GL_BLEND_SRC_ALPHA:
|
|
|
return ContextParameter { .type = GL_INT, .value = { .integer_value = static_cast<GLint>(m_blend_source_factor) } };
|
|
|
case GL_BLUE_BITS:
|