mesa: fold always true conditional
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
e70d0d22a2
commit
4f12fcb6d3
|
@ -1696,10 +1696,8 @@ _mesa_make_current( struct gl_context *newCtx,
|
|||
*/
|
||||
newCtx->NewState |= _NEW_BUFFERS;
|
||||
|
||||
if (drawBuffer) {
|
||||
_mesa_check_init_viewport(newCtx,
|
||||
drawBuffer->Width, drawBuffer->Height);
|
||||
}
|
||||
_mesa_check_init_viewport(newCtx,
|
||||
drawBuffer->Width, drawBuffer->Height);
|
||||
}
|
||||
|
||||
if (newCtx->FirstTimeCurrent) {
|
||||
|
|
Loading…
Reference in New Issue