Noticed that the UWP build has been broken for some time, fix it.

Should probably set up a buildbot if we care about this...
This commit is contained in:
Henrik Rydgård committed 2018-02-05 16:21:39 +01:00
1 parent f999830027
commit 3e56d8bbdf
12 files changed
+19 -53

No files matched your search

+1 -1
View File
@@ -997,7 +997,7 @@ void GLQueueRunner::PerformReadback(const GLRStep &pass) {
const GLuint format = GL_RGBA;
const GLuint type = GL_UNSIGNED_BYTE;
const int srcAlignment = 4;
int dstAlignment = DataFormatSizeInBytes(pass.readback.dstFormat);
int dstAlignment = (int)DataFormatSizeInBytes(pass.readback.dstFormat);
int pixelStride = pass.readback.srcRect.w;
// Apply the correct alignment.