mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:47:36 +00:00
LibGL: Add stubs for glPushAttrib
and glPopAttrib
This commit is contained in:
parent
fbed7a5ba8
commit
0453cad46c
5 changed files with 37 additions and 1 deletions
|
@ -2327,6 +2327,24 @@ void SoftwareGLContext::gl_line_width(GLfloat width)
|
|||
m_line_width = width;
|
||||
}
|
||||
|
||||
void SoftwareGLContext::gl_push_attrib(GLbitfield mask)
|
||||
{
|
||||
APPEND_TO_CALL_LIST_AND_RETURN_IF_NEEDED(gl_push_attrib, mask);
|
||||
RETURN_WITH_ERROR_IF(m_in_draw_state, GL_INVALID_OPERATION);
|
||||
|
||||
// FIXME: implement
|
||||
dbgln_if(GL_DEBUG, "SoftwareGLContext FIXME: implement gl_push_attrib({})", mask);
|
||||
}
|
||||
|
||||
void SoftwareGLContext::gl_pop_attrib()
|
||||
{
|
||||
APPEND_TO_CALL_LIST_AND_RETURN_IF_NEEDED(gl_pop_attrib);
|
||||
RETURN_WITH_ERROR_IF(m_in_draw_state, GL_INVALID_OPERATION);
|
||||
|
||||
// FIXME: implement
|
||||
dbgln_if(GL_DEBUG, "SoftwareGLContext FIXME: implement gl_pop_attrib()");
|
||||
}
|
||||
|
||||
void SoftwareGLContext::present()
|
||||
{
|
||||
m_rasterizer.blit_to(*m_frontbuffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue