Commit 3d7be4ea by Nicolas Capens

Fix OpenGL ES 1.1 regression.

Change-Id: I0660f69ea463a117d950e85bc94facb8292a069f Reviewed-on: https://swiftshader-review.googlesource.com/4713Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent 13b63990
......@@ -66,6 +66,11 @@ namespace sw
routineCache = 0;
setRoutineCacheSize(1024);
for(int i = 0; i < MAX_UNIFORM_BUFFER_BINDINGS; i++)
{
uniformBuffer[i] = nullptr;
}
}
PixelProcessor::~PixelProcessor()
......
......@@ -101,6 +101,11 @@ namespace sw
routineCache = 0;
setRoutineCacheSize(1024);
for(int i = 0; i < MAX_UNIFORM_BUFFER_BINDINGS; i++)
{
uniformBuffer[i] = nullptr;
}
}
VertexProcessor::~VertexProcessor()
......
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