|
@@ -110,6 +110,10 @@ Optional<ContextParameter> GLContext::get_context_parameter(GLenum name)
|
|
|
return ContextParameter { .type = GL_BOOL, .is_capability = true, .value = { .boolean_value = m_depth_offset_enabled } };
|
|
|
case GL_RED_BITS:
|
|
|
return ContextParameter { .type = GL_INT, .value = { .integer_value = sizeof(u8) * 8 } };
|
|
|
+ case GL_SAMPLE_BUFFERS:
|
|
|
+ return ContextParameter { .type = GL_INT, .value = { .integer_value = 0 } };
|
|
|
+ case GL_SAMPLES:
|
|
|
+ return ContextParameter { .type = GL_INT, .value = { .integer_value = 1 } };
|
|
|
case GL_SCISSOR_BOX: {
|
|
|
auto scissor_box = m_rasterizer->options().scissor_box;
|
|
|
return ContextParameter {
|