[ANGLE] IOSurfaceSurfaceCGL has format and internalFormat flipped
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Nov 2019 20:42:39 +0000 (20:42 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Nov 2019 20:42:39 +0000 (20:42 +0000)
commitedb6dce0da9186718c29551739fd4fa6f31f6c8c
treef41028161e56c3f7f47fee90742b56a6d348e167
parentf26dcd508857740ef88930ea1fbe3ea75fd3142f
[ANGLE] IOSurfaceSurfaceCGL has format and internalFormat flipped
https://bugs.webkit.org/show_bug.cgi?id=203911
<rdar://problem/56954291>

Reviewed by Simon Fraser.

Fix a typo where internalFormat and format are used in the
wrong order. The table of formats also had them backwards.

* src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.cpp:
(rx::IOSurfaceSurfaceCGL::bindTexImage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/ThirdParty/ANGLE/ChangeLog
Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/IOSurfaceSurfaceCGL.cpp