mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=612334; fix webgl tex-image-invalid-data test; r=bjacob
This commit is contained in:
parent
6187f48cf2
commit
da08b74ae8
@ -3822,7 +3822,7 @@ WebGLContext::TexSubImage2D_base(WebGLenum target, WebGLint level,
|
||||
PRUint32 bytesNeeded = checked_neededByteLength.value();
|
||||
|
||||
if (byteLength < bytesNeeded)
|
||||
return ErrorInvalidValue("texSubImage2D: not enough data for operation (need %d, have %d)", bytesNeeded, byteLength);
|
||||
return ErrorInvalidOperation("texSubImage2D: not enough data for operation (need %d, have %d)", bytesNeeded, byteLength);
|
||||
|
||||
WebGLTexture *tex = activeBoundTextureForTarget(target);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user