am 22874300: Merge change 22709 into eclair
Merge commit '228743001721e5b167d393523ad35d78ba965195' into eclair-plus-aosp * commit '228743001721e5b167d393523ad35d78ba965195': If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing the viewport.
This commit is contained in:
@@ -696,6 +696,8 @@ void ogles_viewport(ogles_context_t* c,
|
||||
f[2] = 0; f[6] = 0; f[10] = A; f[14] = B;
|
||||
f[3] = 0; f[7] = 0; f[11] = 0; f[15] = 1;
|
||||
c->transforms.dirty |= transform_state_t::VIEWPORT;
|
||||
if (c->transforms.mvp4.flags & transform_t::FLAGS_2D_PROJECTION)
|
||||
c->transforms.dirty |= transform_state_t::MVP;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user