Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert

This commit is contained in:
Benoit Jacob 2012-08-02 17:28:02 -04:00
parent e5214fe562
commit bb0ac80d76

View File

@ -4504,6 +4504,7 @@ WebGLContext::name##_base(WebGLUniformLocation *location_object,
} \
\
uint32_t numElementsToUpload = NS_MIN(info.arraySize, arrayLength/expectedElemSize); \
MakeContextCurrent(); \
gl->f##name(location, numElementsToUpload, data); \
}