Previously glColorPointer would reject GL_UNSIGNED_BYTE.
This should be allowed in both the gles 1 and 1.1 specifications.
See page 6 of the gles 1 specification and page 20 of the gles 1.1
specification.
This change allows doodle jump to work on angle on both the gl
and vulkan backend
Bug: angleproject:4308
Tests: angle_end2end_tests
--gtest_filter=VertexPointerTest.AssignRetrieveColorUnsignedByte*
Change-Id: I35f41b28d94cb34bc36256420b57793691b78cff
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2424465
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by:
Cody Northrop <cnorthrop@google.com>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AlphaFuncTest.cpp | Loading commit data... | |
| BasicDrawTest.cpp | Loading commit data... | |
| BootAnimationTest.cpp | Loading commit data... | |
| ClientActiveTextureTest.cpp | Loading commit data... | |
| ClientStateEnable.cpp | Loading commit data... | |
| ClipPlaneTest.cpp | Loading commit data... | |
| CurrentColorTest.cpp | Loading commit data... | |
| CurrentNormalTest.cpp | Loading commit data... | |
| CurrentTextureCoordsTest.cpp | Loading commit data... | |
| DrawTextureTest.cpp | Loading commit data... | |
| FogTest.cpp | Loading commit data... | |
| LightsTest.cpp | Loading commit data... | |
| MaterialsTest.cpp | Loading commit data... | |
| MatrixBuiltinsTest.cpp | Loading commit data... | |
| MatrixLoadTest.cpp | Loading commit data... | |
| MatrixModeTest.cpp | Loading commit data... | |
| MatrixMultTest.cpp | Loading commit data... | |
| MatrixStackTest.cpp | Loading commit data... | |
| PointParameterTest.cpp | Loading commit data... | |
| PointSpriteTest.cpp | Loading commit data... | |
| ShadeModelTest.cpp | Loading commit data... | |
| TextureEnvTest.cpp | Loading commit data... | |
| TextureParameterTest.cpp | Loading commit data... | |
| TextureTargetEnableTest.cpp | Loading commit data... | |
| VertexPointerTest.cpp | Loading commit data... |