[WebGL] Turn on more validation/error checking in webgl (when not on Win)

This commit is contained in:
Moonchild 2023-11-23 14:05:37 +01:00 committed by roytam1
commit acd204e85e
3 changed files with 16 additions and 3 deletions

View file

@ -2188,6 +2188,7 @@ WebGLTexture::CopyTexImage2D(TexImageTarget target, GLint level, GLenum internal
srcTotalWidth, srcTotalHeight, srcUsage, 0, 0, 0, width,
height, dstUsage))
{
Truncate();
return;
}