mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert
This commit is contained in:
parent
e5214fe562
commit
bb0ac80d76
@ -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); \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user