mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
remove unneeded init of swrast->invalidate_line/triangle
This commit is contained in:
parent
74235b1cf1
commit
2219a15b06
1 changed files with 0 additions and 17 deletions
|
|
@ -580,21 +580,6 @@ osmesa_choose_line( GLcontext *ctx )
|
|||
}
|
||||
|
||||
|
||||
#define OSMESA_NEW_LINE (_NEW_LINE | \
|
||||
_NEW_TEXTURE | \
|
||||
_NEW_LIGHT | \
|
||||
_NEW_DEPTH | \
|
||||
_NEW_RENDERMODE | \
|
||||
_SWRAST_NEW_RASTERMASK)
|
||||
|
||||
#define OSMESA_NEW_TRIANGLE (_NEW_POLYGON | \
|
||||
_NEW_TEXTURE | \
|
||||
_NEW_LIGHT | \
|
||||
_NEW_DEPTH | \
|
||||
_NEW_RENDERMODE | \
|
||||
_SWRAST_NEW_RASTERMASK)
|
||||
|
||||
|
||||
/**
|
||||
* Don't use _mesa_delete_renderbuffer since we can't free rb->Data.
|
||||
*/
|
||||
|
|
@ -941,8 +926,6 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
|
|||
swrast = SWRAST_CONTEXT( ctx );
|
||||
swrast->choose_line = osmesa_choose_line;
|
||||
swrast->choose_triangle = osmesa_choose_triangle;
|
||||
swrast->invalidate_line |= OSMESA_NEW_LINE;
|
||||
swrast->invalidate_triangle |= OSMESA_NEW_TRIANGLE;
|
||||
}
|
||||
}
|
||||
return osmesa;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue