Commit 60015701 by Alexis Hetu Committed by Alexis Hétu

Changed default buffer usage type

dEQP was expecting default buffer usage to be GL_STATIC_DRAW instead of GL_DYNAMIC_DRAW, so it was changed accordingly. Change-Id: I5c9e31fc0791955fd32333c1479e76fbc79951a1 Reviewed-on: https://swiftshader-review.googlesource.com/3631Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent dcbabfa7
...@@ -26,7 +26,7 @@ Buffer::Buffer(GLuint name) : NamedObject(name) ...@@ -26,7 +26,7 @@ Buffer::Buffer(GLuint name) : NamedObject(name)
{ {
mContents = 0; mContents = 0;
mSize = 0; mSize = 0;
mUsage = GL_DYNAMIC_DRAW; mUsage = GL_STATIC_DRAW;
mIsMapped = false; mIsMapped = false;
mOffset = 0; mOffset = 0;
mLength = 0; mLength = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment