rhi: gl: Remove fake uniform buffer offset alignment requirement
Change-Id: I5408e53f90c1c19836c400659bac15a8690c6ae8 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
parent
cd5a0bc735
commit
08a601035c
@ -583,7 +583,9 @@ QRhiBuffer *QRhiGles2::createBuffer(QRhiBuffer::Type type, QRhiBuffer::UsageFlag
|
|||||||
|
|
||||||
int QRhiGles2::ubufAlignment() const
|
int QRhiGles2::ubufAlignment() const
|
||||||
{
|
{
|
||||||
return 256;
|
// No real uniform buffers are used so no need to pretend there is any
|
||||||
|
// alignment requirement.
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QRhiGles2::isYUpInFramebuffer() const
|
bool QRhiGles2::isYUpInFramebuffer() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user