icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -1133,6 +1133,18 @@ webgl::ReadPixelsResult WebGLContext::ReadPixelsImpl(
|
|||
|
||||
//////
|
||||
|
||||
// Reject invalid pack alignment.
|
||||
switch (desc.packState.alignmentInTypeElems) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 4:
|
||||
case 8:
|
||||
break; // all good
|
||||
default:
|
||||
ErrorInvalidValue("pack alignment must be 1, 2, 4, or 8.");
|
||||
return {};
|
||||
}
|
||||
|
||||
const auto& srcOffset = desc.srcOffset;
|
||||
const auto& size = desc.size;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue