mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert
This commit is contained in:
parent
10e288eb10
commit
e7b450b988
@ -25,11 +25,7 @@ static const int MAX_DRAW_CALLS_SINCE_FLUSH = 100;
|
||||
bool
|
||||
WebGLContext::DrawInstanced_check(const char* info)
|
||||
{
|
||||
// This restriction was removed in GLES3, so WebGL2 shouldn't have it.
|
||||
if (!IsWebGL2() &&
|
||||
IsExtensionEnabled(WebGLExtensionID::ANGLE_instanced_arrays) &&
|
||||
!mBufferFetchingHasPerVertex)
|
||||
{
|
||||
if (!mBufferFetchingHasPerVertex) {
|
||||
/* http://www.khronos.org/registry/gles/extensions/ANGLE/ANGLE_instanced_arrays.txt
|
||||
* If all of the enabled vertex attribute arrays that are bound to active
|
||||
* generic attributes in the program have a non-zero divisor, the draw
|
||||
|
Loading…
Reference in New Issue
Block a user