mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Fix incorrect width used for sync color buffer reads with EGLImage
This commit is contained in:
parent
eb8ac40136
commit
8b75b5dc96
|
@ -58,7 +58,7 @@ const u8 * ColorBufferReaderWithEGLImage::_readPixels(const ReadColorBufferParam
|
|||
_stride = m_pTexture->width;
|
||||
} else {
|
||||
gpuData = m_pixelData.data();
|
||||
glReadPixels(_params.x0, _params.y0, _params.width, _params.height, format, type, gpuData);
|
||||
glReadPixels(_params.x0, _params.y0, m_pTexture->width, _params.height, format, type, gpuData);
|
||||
_heightOffset = 0;
|
||||
_stride = m_pTexture->width;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user