diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-07-11 18:25:11 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-07-11 18:25:11 +0200 |
commit | 4706e8bed616e0ef816a7fb579333f892508c64b (patch) | |
tree | 7b398bd574cb86c896c098e94962e9d4fb5a5508 /gfx/angle/src/libANGLE/renderer/d3d/d3d11 | |
parent | 4f2ecd53a9daaf88bb7d075745eefb6e2e4741e0 (diff) | |
download | UXP-4706e8bed616e0ef816a7fb579333f892508c64b.tar UXP-4706e8bed616e0ef816a7fb579333f892508c64b.tar.gz UXP-4706e8bed616e0ef816a7fb579333f892508c64b.tar.lz UXP-4706e8bed616e0ef816a7fb579333f892508c64b.tar.xz UXP-4706e8bed616e0ef816a7fb579333f892508c64b.zip |
Re-apply genericDraw* fixes
Diffstat (limited to 'gfx/angle/src/libANGLE/renderer/d3d/d3d11')
-rwxr-xr-x | gfx/angle/src/libANGLE/renderer/d3d/d3d11/Context11.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/angle/src/libANGLE/renderer/d3d/d3d11/Context11.cpp b/gfx/angle/src/libANGLE/renderer/d3d/d3d11/Context11.cpp index 4ebac6016..304bbe8cb 100755 --- a/gfx/angle/src/libANGLE/renderer/d3d/d3d11/Context11.cpp +++ b/gfx/angle/src/libANGLE/renderer/d3d/d3d11/Context11.cpp @@ -148,7 +148,7 @@ gl::Error Context11::finish() gl::Error Context11::drawArrays(GLenum mode, GLint first, GLsizei count) { - return mRenderer->genericDrawArrays(this, mode, first, count, 0); + return mRenderer->genericDrawArrays(this, mode, first, count, 1); } gl::Error Context11::drawArraysInstanced(GLenum mode, @@ -165,7 +165,7 @@ gl::Error Context11::drawElements(GLenum mode, const GLvoid *indices, const gl::IndexRange &indexRange) { - return mRenderer->genericDrawElements(this, mode, count, type, indices, 0, indexRange); + return mRenderer->genericDrawElements(this, mode, count, type, indices, 1, indexRange); } gl::Error Context11::drawElementsInstanced(GLenum mode, @@ -186,7 +186,7 @@ gl::Error Context11::drawRangeElements(GLenum mode, const GLvoid *indices, const gl::IndexRange &indexRange) { - return mRenderer->genericDrawElements(this, mode, count, type, indices, 0, indexRange); + return mRenderer->genericDrawElements(this, mode, count, type, indices, 1, indexRange); } GLenum Context11::getResetStatus() |